diff options
author | luoqi <luoqi@FreeBSD.org> | 1999-02-19 14:25:37 +0000 |
---|---|---|
committer | luoqi <luoqi@FreeBSD.org> | 1999-02-19 14:25:37 +0000 |
commit | 082d37c1acacd0403f5fb2883c7a0203c86baa10 (patch) | |
tree | 43d75fbf23c63e0d76e25bdb477e9f3abea2d101 /sys/vm/vm_glue.c | |
parent | 34a83c58695826a346644074e092787f655b3394 (diff) | |
download | FreeBSD-src-082d37c1acacd0403f5fb2883c7a0203c86baa10.zip FreeBSD-src-082d37c1acacd0403f5fb2883c7a0203c86baa10.tar.gz |
Hide access to vmspace:vm_pmap with inline function vmspace_pmap(). This
is the preparation step for moving pmap storage out of vmspace proper.
Reviewed by: Alan Cox <alc@cs.rice.edu>
Matthew Dillion <dillon@apollo.backplane.com>
Diffstat (limited to 'sys/vm/vm_glue.c')
-rw-r--r-- | sys/vm/vm_glue.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index bd592be..e8d8848 100644 --- a/sys/vm/vm_glue.c +++ b/sys/vm/vm_glue.c @@ -59,7 +59,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_glue.c,v 1.82 1999/01/21 09:36:23 dillon Exp $ + * $Id: vm_glue.c,v 1.83 1999/01/26 02:38:12 julian Exp $ */ #include "opt_rlimit.h" @@ -511,8 +511,7 @@ swapout(p) /* * remember the process resident count */ - p->p_vmspace->vm_swrss = - p->p_vmspace->vm_pmap.pm_stats.resident_count; + p->p_vmspace->vm_swrss = vmspace_resident_count(p->p_vmspace); (void) splhigh(); p->p_flag &= ~P_INMEM; |