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

Marcel Moolenaar marcel at FreeBSD.org
Sun May 18 23:05:32 PDT 2003


marcel      2003/05/18 23:05:31 PDT

  FreeBSD src repository

  Modified files:
    sys/ia64/ia64        pmap.c 
  Log:
  Unconditionally set pcb_current_pmap. WIP versions of the code
  previously committed cleared pcb_current_pmap prior to changing
  the region registers, but that was removed before committing.
  Since we don't normally (at all?) pass a NULL pointer, the bug
  was mostly harmless. Fix it while I'm here...
  
  I'm here because we need to have data serialization after writing
  to the region registers. Not doing so was likely the cause of the
  hangs we were experiencing. General exceptions in cpu_switch may
  also be caused by the lack of serialization.
  
  Approved by: re (blanket)
  
  Revision  Changes    Path
  1.104     +2 -1      src/sys/ia64/ia64/pmap.c


More information about the cvs-src mailing list