From owner-cvs-src-old@FreeBSD.ORG Thu Nov 25 22:06:21 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AD131065674 for ; Thu, 25 Nov 2010 22:06:21 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 57DA48FC1A for ; Thu, 25 Nov 2010 22:06:21 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oAPM6LGt007311 for ; Thu, 25 Nov 2010 22:06:21 GMT (envelope-from cperciva@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oAPM6LFv007310 for cvs-src-old@freebsd.org; Thu, 25 Nov 2010 22:06:21 GMT (envelope-from cperciva@repoman.freebsd.org) Message-Id: <201011252206.oAPM6LFv007310@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to cperciva@repoman.freebsd.org using -f From: Colin Percival Date: Thu, 25 Nov 2010 22:06:07 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/xen pmap.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Nov 2010 22:06:21 -0000 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