diff options
author | alc <alc@FreeBSD.org> | 2002-08-02 05:23:58 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2002-08-02 05:23:58 +0000 |
commit | 69425db61b078184b18c397d45b84d749a6f0b0c (patch) | |
tree | 8154b3d33efd893ac14b8d1d334d31514a435d08 /sys/vm/vm_page.c | |
parent | a15cfdccfbf5cab416e0549067bea309ff990d9b (diff) | |
download | FreeBSD-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.c | 2 |
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. */ |