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

Alan Cox alc at FreeBSD.org
Sun Aug 15 13:54:25 PDT 2004


alc         2004-08-15 20:54:25 UTC

  FreeBSD src repository

  Modified files:
    sys/alpha/alpha      pmap.c 
  Log:
   - Make pmap_emulate_reference() MP and preemption safe.  Previously, it
     contained "sanity" checks that could be violated if another CPU modified
     the pmap between the emulation trap and locking the pmap in
     pmap_emulate_reference().  As a result, the pte could be inconsistent
     with the access that caused the emulation trap.  In such cases,
     pmap_emulate_reference() now flushes the current CPU's TLB entry and
     returns.
   - Make pmap_changebit() an inline function, reducing object code size.
  
  Revision  Changes    Path
  1.166     +20 -30    src/sys/alpha/alpha/pmap.c


More information about the cvs-src mailing list