]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Modify pmap_is_current() to return FALSE when a pmap's page table is in
authorAlan Cox <alc@FreeBSD.org>
Mon, 13 Oct 2003 03:28:31 +0000 (03:28 +0000)
committerAlan Cox <alc@FreeBSD.org>
Mon, 13 Oct 2003 03:28:31 +0000 (03:28 +0000)
commit50ac3f993968514dce23433facb14591cd7bbb29
tree5c56abcbe24b6c939aae49507c8c4cf5b0c44b33
parent0986ab12e44caea472245845f9a89ced4f137d73
 - Modify pmap_is_current() to return FALSE when a pmap's page table is in
   use because a kernel thread is borrowing it.  The borrowed page table
   can change spontaneously, making any dependence on its continued use
   subject to a race condition.
 - _pmap_unwire_pte_hold() cannot use pmap_is_current(): If a change is
   made to a page table page mapping for a borrowed page table, the TLB
   must be updated.

In collaboration with: tegge
sys/i386/i386/pmap.c