From owner-cvs-all@FreeBSD.ORG Sun Feb 1 12:53:04 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81C8A16A4CE; Sun, 1 Feb 2004 12:53:04 -0800 (PST) Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 815C643D3F; Sun, 1 Feb 2004 12:53:03 -0800 (PST) (envelope-from alc@cs.rice.edu) Received: from localhost (localhost [127.0.0.1]) by cs.rice.edu (Postfix) with ESMTP id C0E7C4AAD6; Sun, 1 Feb 2004 14:53:02 -0600 (CST) Received: from cs.rice.edu ([127.0.0.1]) by localhost (cs.rice.edu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14361-01-14; Sun, 1 Feb 2004 14:53:00 -0600 (CST) Received: by cs.rice.edu (Postfix, from userid 19572) id 621604AB4E; Sun, 1 Feb 2004 14:53:00 -0600 (CST) Date: Sun, 1 Feb 2004 14:53:00 -0600 From: Alan Cox To: Alan Cox Message-ID: <20040201205300.GC22987@cs.rice.edu> References: <200402012014.i11KE1PD082693@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200402012014.i11KE1PD082693@repoman.freebsd.org> User-Agent: Mutt/1.3.28i X-Virus-Scanned: by amavis-20030616-p5 at rice.edu cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 pmap.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2004 20:53:04 -0000 On Sun, Feb 01, 2004 at 12:14:01PM -0800, Alan Cox wrote: > alc 2004/02/01 12:14:01 PST > > FreeBSD src repository > > Modified files: > sys/i386/i386 pmap.c > Log: > Eliminate all TLB shootdowns by pmap_pte_quick(): By temporarily pinning > the thread that calls pmap_pte_quick() and by virtue of the page queues > lock being held, we can manage PADDR1/PMAP1 as a CPU private mapping. > > The most common effect of this change is to reduce the overhead of the page > daemon on multiprocessors. > > In collaboration with: tegge > > Revision Changes Path > 1.462 +52 -13 src/sys/i386/i386/pmap.c If you want to see the number of IPIs for TLB shootdown that are avoided on an SMP, run "sysctl debug.PMAP1changed". After running a buildworld "-j4" on a machine configured with 148MB, I got debug.PMAP1changed: 3148562