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

Alan Cox alc at FreeBSD.org
Tue Aug 19 11:20:38 PDT 2003


alc         2003/08/19 11:20:34 PDT

  FreeBSD src repository

  Modified files:
    sys/i386/i386        pmap.c 
  Log:
  Eliminate a possible race condition for multithreaded applications in
  _pmap_allocpte(): Guarantee that the page table page is zero filled before
  adding it to the directory.  Otherwise, a 2nd, 3rd, etc. thread could
  access a nearby virtual address and use garbage for the address
  translation.
  
  Discussed with: peter, tegge
  
  Revision  Changes    Path
  1.428     +2 -13     src/sys/i386/i386/pmap.c


More information about the cvs-src mailing list