Date: Thu, 25 Nov 2010 22:06:07 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/i386/xen pmap.c Message-ID: <201011252206.oAPM6LFv007310@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cperciva 2010-11-25 22:06:07 UTC
FreeBSD src repository
Modified files:
sys/i386/xen pmap.c
Log:
SVN rev 215844 on 2010-11-25 22:06:07Z by cperciva
Revert r215819 and fix the bug properly. In pmap_qremove, paging table
updates were being queued by pmap_kremove, but the queue wasn't being
flushed; as a result, the updates didn't happen until *after* the call
to pmap_invalidate_range, and old entries could stick around in the TLB.
Adding a PT_UPDATES_FLUSH() call immediately before pmap_invalidate_range
ensures that after the invalidation the TLB will be repopulated with the
correct new entries.
Thanks to: kib, avg, alc
Revision Changes Path
1.54 +1 -12 src/sys/i386/xen/pmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011252206.oAPM6LFv007310>
