We do wired page accounting. Tell UVM about it.
This commit is contained in:
parent
67226ec4f1
commit
f41561e9de
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pmap.h,v 1.49 2000/09/21 17:46:05 thorpej Exp $ */
|
||||
/* $NetBSD: pmap.h,v 1.50 2000/09/28 13:17:54 is Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
@ -353,6 +353,7 @@ extern int pmap_pg_g; /* do we support PG_G? */
|
||||
|
||||
#define pmap_kernel() (&kernel_pmap_store)
|
||||
#define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count)
|
||||
#define pmap_wired_count(pmap) ((pmap)->pm_stats.wired_count)
|
||||
#define pmap_update() tlbflush()
|
||||
|
||||
#define pmap_clear_modify(pg) pmap_change_attrs(pg, 0, PG_M)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pmap.h,v 1.28 2000/07/18 12:45:50 matthias Exp $ */
|
||||
/* $NetBSD: pmap.h,v 1.29 2000/09/28 13:09:10 is Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
@ -351,6 +351,7 @@ extern int nkpde; /* current # of PDEs for kernel */
|
||||
|
||||
#define pmap_kernel() (&kernel_pmap_store)
|
||||
#define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count)
|
||||
#define pmap_wired_count(pmap) ((pmap)->pm_stats.wired_count)
|
||||
#define pmap_update() tlbflush()
|
||||
|
||||
#define pmap_clear_modify(pg) pmap_change_attrs(pg, 0, PG_M)
|
||||
|
Loading…
Reference in New Issue
Block a user