Set POOL_SUBPAGE to 4096, in a bid to improve memory efficiency.
This commit is contained in:
parent
d0844f93bb
commit
34666c7150
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: param.h,v 1.11 2001/08/07 22:26:56 bjh21 Exp $ */
|
||||
/* $NetBSD: param.h,v 1.12 2001/10/07 12:45:03 bjh21 Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994,1995 Mark Brinicombe.
|
||||
@ -45,6 +45,8 @@
|
||||
#define _MACHINE_ARCH arm26
|
||||
#define MACHINE_ARCH "arm26"
|
||||
|
||||
#define POOL_SUBPAGE 4096
|
||||
|
||||
#define PGSHIFT 15 /* LOG2(NBPG) */
|
||||
#define NBPG (1 << PGSHIFT) /* bytes/page */
|
||||
#define PGOFSET (NBPG-1) /* byte offset into page */
|
||||
|
Loading…
Reference in New Issue
Block a user