cvs commit: src/sys/amd64/amd64 pmap.c src/sys/amd64/include pmap.h src/sys/i386/i386 pmap.c src/sys/i386/include pmap.h

Alan Cox alc at FreeBSD.org
Fri Oct 8 01:23:44 PDT 2004


alc         2004-10-08 08:23:43 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      pmap.c 
    sys/amd64/include    pmap.h 
    sys/i386/i386        pmap.c 
    sys/i386/include     pmap.h 
  Log:
  Make pte_load_store() an atomic operation in all cases, not just i386 PAE.
  
  Restructure pmap_enter() to prevent the loss of a page modified (PG_M) bit
  in a race between processors.  (This restructuring assumes the newly atomic
  pte_load_store() for correct operation.)
  
  Reviewed by: tegge@
  PR: i386/61852
  
  Revision  Changes    Path
  1.508     +20 -7     src/sys/amd64/amd64/pmap.c
  1.125     +14 -4     src/sys/amd64/include/pmap.h
  1.513     +20 -7     src/sys/i386/i386/pmap.c
  1.115     +16 -4     src/sys/i386/include/pmap.h


More information about the cvs-src mailing list