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

Marcel Moolenaar marcel at FreeBSD.org
Mon May 19 19:52:42 PDT 2003


marcel      2003/05/19 19:52:41 PDT

  FreeBSD src repository

  Modified files:
    sys/ia64/ia64        pmap.c 
  Log:
  Prevent corruption of the VHPT collision chain by protecting it with
  a mutex. The only volatile chain operations are insertion and deletion
  but since updating an existing PTE also updates the VHPT entry itself,
  and we have the VHPT mutex in both other cases, we also lock when we
  update an existing PTE even though no chain operation is involved.
  Note that we perform the insertion and deletion careful enough that
  we don't need to lock traversals. If we need to lock traversals, we
  also need to lock from the exception handler, which we can't without
  creating a trapframe.
  
  We're now able to withstand a -j8 buildworld. More work is needed to
  withstand Murphy fields. In other words: we still have a bogon...
  
  Approved by: re@ (blanket)
  
  Revision  Changes    Path
  1.106     +43 -45    src/sys/ia64/ia64/pmap.c


More information about the cvs-all mailing list