Date: Tue, 19 Aug 2003 11:20:34 -0700 (PDT) From: Alan Cox <alc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 pmap.c Message-ID: <200308191820.h7JIKYJe030332@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308191820.h7JIKYJe030332>
