Date: Wed, 5 Jan 2011 11:29:10 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/sparc64/sparc64 tlb.c Message-ID: <201101051129.p05BTXJN096820@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2011-01-05 11:29:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/sparc64/sparc64 tlb.c Log: SVN rev 216990 on 2011-01-05 11:29:10Z by marius MFC: r216891 Extend the section in which interrupts are disabled in the TLB demap functions, otherwise if we get preempted after checking whether a certain pmap is active on the current CPU but before disabling interrupts we might operate on an outdated state as the pmap might have been deactivated in the meantime. As the same issue may arises when the TLB demap function is interrupted by a TLB demap IPI, just entering a critical section before the check isn't sufficient so we have to fully disable interrupts instead. Revision Changes Path 1.8.20.4 +6 -6 src/sys/sparc64/sparc64/tlb.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101051129.p05BTXJN096820>