summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-04-06 03:11:34 +0000
committerpeter <peter@FreeBSD.org>1999-04-06 03:11:34 +0000
commitbc820937dce77a4f880ed362eeafe2a592c12b35 (patch)
tree83242fd86af07c502a03d0784559c9a3340fe0b0 /sys/vm
parent8d6ca2a948dd3e37d03e1634fba55c82ad970c5b (diff)
downloadFreeBSD-src-bc820937dce77a4f880ed362eeafe2a592c12b35.zip
FreeBSD-src-bc820937dce77a4f880ed362eeafe2a592c12b35.tar.gz
Only use p->p_lock (manage by PHOLD()/PRELE()) - P_NOSWAP/P_PHYSIO is no
longer set.
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_glue.c4
1 files changed, 2 insertions, 2 deletions
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)
/*
OpenPOWER on IntegriCloud