]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Testing whether a page is dirty does not require the page lock. Moreover,
authoralc <alc@FreeBSD.org>
Tue, 25 Aug 2015 01:01:25 +0000 (01:01 +0000)
committeralc <alc@FreeBSD.org>
Tue, 25 Aug 2015 01:01:25 +0000 (01:01 +0000)
commit6181041f9a615581f84d8ad0025c36845aad472f
treed66e06872f482a845f15f46a330d7b3a801d5519
parentc465848fcf220d5fb2824d3829148113ecaf37fa
Testing whether a page is dirty does not require the page lock.  Moreover,
it may involve a pmap operation that iterates over the page's PV list, so
unnecessarily holding the page lock is undesirable.

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
sys/vm/vm_pageout.c