Date: Mon, 5 Sep 2005 21:32:03 +0000 (UTC) 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: <200509052132.j85LW3Ql020274@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2005-09-05 21:32:03 UTC FreeBSD src repository Modified files: sys/ia64/ia64 pmap.c Log: o In pmap_remove_pte: always invalidate the page. Previously the page was not invalidated if the PTE was not actually being removed. In an UP kernel this didn't cause problems, because the new mapping would preempt the old one. In an SMP kernel this could lead to the use of stale translations when processes move between CPUs at the "right" moment. This fixes the last of the obvious SMP problems and it should be safe to enable SMP by default now. o In pmap_remove_pte: minor code refactoring to avoid duplication. o Test all PTE pointers against NULL. Don't use implicit boolean tests. Revision Changes Path 1.166 +11 -13 src/sys/ia64/ia64/pmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509052132.j85LW3Ql020274>