]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Increase the object lock's scope in vm_contig_launder() so that access
authorAlan Cox <alc@FreeBSD.org>
Sat, 18 Oct 2003 21:09:21 +0000 (21:09 +0000)
committerAlan Cox <alc@FreeBSD.org>
Sat, 18 Oct 2003 21:09:21 +0000 (21:09 +0000)
commit7a93508274b42ce7a781b65d9a9128406fc7c914
tree6b34fce36d3e8914acee117ce4e8c611179e0683
parentfc1cbf43315798aeffda8ad2ebc934306948a0de
 - Increase the object lock's scope in vm_contig_launder() so that access
   to the object's type field and the call to vm_pageout_flush() are
   synchronized.
 - The above change allows for the eliminaton of the last parameter
   to vm_pageout_flush().
 - Synchronize access to the page's valid field in vm_pageout_flush()
   using the containing object's lock.
sys/vm/vm_contig.c
sys/vm/vm_object.c
sys/vm/vm_pageout.c
sys/vm/vm_pageout.h