diff options
author | alc <alc@FreeBSD.org> | 2013-06-01 20:32:34 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2013-06-01 20:32:34 +0000 |
commit | ece39b8d036223642b9cb1041316f0c28f28898b (patch) | |
tree | 0740d6c49e585e77f0a4020bbaf40d3781caf696 /sys/vm | |
parent | e8a1ec6b90ed9e8e14bc9b12b1d267a0b1165038 (diff) | |
download | FreeBSD-src-ece39b8d036223642b9cb1041316f0c28f28898b.zip FreeBSD-src-ece39b8d036223642b9cb1041316f0c28f28898b.tar.gz |
Now that access to the page's "act_count" field is synchronized by the page
lock instead of the object lock, there is no reason for vm_page_activate()
to assert that the object is locked for either read or write access.
(The "VPO_UNMANAGED" flag never changes after page allocation.)
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_page.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 15697c9..5a1c055 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -1837,7 +1837,6 @@ vm_page_activate(vm_page_t m) int queue; vm_page_lock_assert(m, MA_OWNED); - VM_OBJECT_ASSERT_WLOCKED(m->object); if ((queue = m->queue) != PQ_ACTIVE) { if (m->wire_count == 0 && (m->oflags & VPO_UNMANAGED) == 0) { if (m->act_count < ACT_INIT) |