]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Reimplement the page's NOSYNC flag as an object-synchronized instead of a
authoralc <alc@FreeBSD.org>
Sun, 13 Aug 2006 00:11:09 +0000 (00:11 +0000)
committeralc <alc@FreeBSD.org>
Sun, 13 Aug 2006 00:11:09 +0000 (00:11 +0000)
commitcc1f2c465bfc2a22dd28655bfc8e31004e2eee48
treead3ea0a7916830d634d5b487c2f06408e41c01bf
parentf6dcb4683584c820e63f041684eb1b3e8cd8ca5a
Reimplement the page's NOSYNC flag as an object-synchronized instead of a
page queues-synchronized flag.  Reduce the scope of the page queues lock in
vm_fault() accordingly.

Move vm_fault()'s call to vm_object_set_writeable_dirty() outside of the
scope of the page queues lock.  Reviewed by: tegge
Additionally, eliminate an unnecessary dereference in computing the
argument that is passed to vm_object_set_writeable_dirty().
sys/vm/vm_fault.c
sys/vm/vm_object.c
sys/vm/vm_page.c
sys/vm/vm_page.h