]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
There exists a possible sequence of page table page allocation failures
authoralc <alc@FreeBSD.org>
Mon, 18 Aug 2014 20:28:08 +0000 (20:28 +0000)
committeralc <alc@FreeBSD.org>
Mon, 18 Aug 2014 20:28:08 +0000 (20:28 +0000)
commit21285cbfcd2dee19346b7c29aa33a4a1e186ef80
treeac7202c4c0d197f4baea150760f5b04dfbd0148b
parentcb231d7d66f478b71439e7ee48e0a4289b790928
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