From bc820937dce77a4f880ed362eeafe2a592c12b35 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 6 Apr 1999 03:11:34 +0000 Subject: Only use p->p_lock (manage by PHOLD()/PRELE()) - P_NOSWAP/P_PHYSIO is no longer set. --- sys/vm/vm_glue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/vm') diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index e8d8848..eb45d61 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.83 1999/01/26 02:38:12 julian Exp $ + * $Id: vm_glue.c,v 1.84 1999/02/19 14:25:36 luoqi Exp $ */ #include "opt_rlimit.h" @@ -389,7 +389,7 @@ loop: #define swappable(p) \ (((p)->p_lock == 0) && \ - ((p)->p_flag & (P_TRACED|P_NOSWAP|P_SYSTEM|P_INMEM|P_WEXIT|P_PHYSIO|P_SWAPPING)) == P_INMEM) + ((p)->p_flag & (P_TRACED|P_SYSTEM|P_INMEM|P_WEXIT|P_SWAPPING)) == P_INMEM) /* -- cgit v1.1