]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/commit
MFC r175055
authoralc <alc@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 17 Apr 2009 16:42:03 +0000 (16:42 +0000)
committeralc <alc@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 17 Apr 2009 16:42:03 +0000 (16:42 +0000)
commit784a620ee32e887ac9fba0f07c5dfa2cb850988f
treebc29a157725e541c83012eab26ea84f412646ef8
parent987d08edb70b8a2b7ece4a4f9c6733d7ebc10253
MFC r175055
  Defer setting either PG_CACHED or PG_FREE until after the free page
  queues lock is acquired.  Otherwise, the state of a reservation's
  pages' flags and its population count can be inconsistent.  That could
  result in a page being freed twice.

(This change should have been included in the MFC of the superpages
support.)

Thanks to: pho for an illuminating crash

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/7.2@191209 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/vm/vm_page.c