]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
There exists a possible sequence of page table page allocation failures
authorAlan Cox <alc@FreeBSD.org>
Mon, 18 Aug 2014 20:28:08 +0000 (20:28 +0000)
committerAlan Cox <alc@FreeBSD.org>
Mon, 18 Aug 2014 20:28:08 +0000 (20:28 +0000)
commitada1ae623ea120c9bdabc0304f9b2e6f094cf62b
treeac7202c4c0d197f4baea150760f5b04dfbd0148b
parent274919e96521c37c6a06cda3c87d92863892c199
There exists a possible sequence of page table page allocation failures
starting with a superpage demotion by pmap_enter() that could result in
a PV list lock being held when pmap_enter() is just about to return
KERN_RESOURCE_SHORTAGE.  Consequently, the KASSERT that no PV list locks
are held needs to be replaced with a conditional unlock.

Discussed with: kib
X-MFC with: r269728
Sponsored by: EMC / Isilon Storage Division
sys/amd64/amd64/pmap.c