Date: Mon, 19 May 2003 19:52:41 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 pmap.c Message-ID: <200305200252.h4K2qfom059717@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2003/05/19 19:52:41 PDT FreeBSD src repository Modified files: sys/ia64/ia64 pmap.c Log: Prevent corruption of the VHPT collision chain by protecting it with a mutex. The only volatile chain operations are insertion and deletion but since updating an existing PTE also updates the VHPT entry itself, and we have the VHPT mutex in both other cases, we also lock when we update an existing PTE even though no chain operation is involved. Note that we perform the insertion and deletion careful enough that we don't need to lock traversals. If we need to lock traversals, we also need to lock from the exception handler, which we can't without creating a trapframe. We're now able to withstand a -j8 buildworld. More work is needed to withstand Murphy fields. In other words: we still have a bogon... Approved by: re@ (blanket) Revision Changes Path 1.106 +43 -45 src/sys/ia64/ia64/pmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305200252.h4K2qfom059717>