summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_page.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2002-08-02 05:23:58 +0000
committeralc <alc@FreeBSD.org>2002-08-02 05:23:58 +0000
commit69425db61b078184b18c397d45b84d749a6f0b0c (patch)
tree8154b3d33efd893ac14b8d1d334d31514a435d08 /sys/vm/vm_page.c
parenta15cfdccfbf5cab416e0549067bea309ff990d9b (diff)
downloadFreeBSD-src-69425db61b078184b18c397d45b84d749a6f0b0c.zip
FreeBSD-src-69425db61b078184b18c397d45b84d749a6f0b0c.tar.gz
o Lock page queue accesses in nwfs and smbfs.
o Assert that the page queues lock is held in vm_page_deactivate().
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r--sys/vm/vm_page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index adc168b..29820ce 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -1351,7 +1351,7 @@ _vm_page_deactivate(vm_page_t m, int athead)
{
int s;
- GIANT_REQUIRED;
+ mtx_assert(&vm_page_queue_mtx, MA_OWNED);
/*
* Ignore if already inactive.
*/
OpenPOWER on IntegriCloud