cvs commit: src/sys/i386/i386 pmap.c

Alan Cox alc at FreeBSD.org
Sun Oct 12 20:28:33 PDT 2003


alc         2003/10/12 20:28:32 PDT

  FreeBSD src repository

  Modified files:
    sys/i386/i386        pmap.c 
  Log:
   - 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
  
  Revision  Changes    Path
  1.447     +12 -4     src/sys/i386/i386/pmap.c


More information about the cvs-all mailing list