]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Now that free_pv_entry() accesses the pmap, call free_pv_entry() in
authoralc <alc@FreeBSD.org>
Mon, 17 Jul 2006 03:10:17 +0000 (03:10 +0000)
committeralc <alc@FreeBSD.org>
Mon, 17 Jul 2006 03:10:17 +0000 (03:10 +0000)
commit45cb17842617c19d39fe2baf45757f37d2698f9c
tree00840745b38dcee1d32627da65915d8af9f5ebd1
parentf457417c4c3c641d7c6e1fa68923519c02a7078e
Now that free_pv_entry() accesses the pmap, call free_pv_entry() in
pmap_remove_all() before rather than after the pmap is unlocked.  At
present, the page queues lock provides sufficient sychronization.  In the
future, the page queues lock may not always be held when free_pv_entry() is
called.
sys/amd64/amd64/pmap.c
sys/i386/i386/pmap.c