From owner-cvs-src-old@FreeBSD.ORG Fri Oct 15 03:24:18 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 0AC99106566B for ; Fri, 15 Oct 2010 03:24:18 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EBA1C8FC1A for ; Fri, 15 Oct 2010 03:24:17 +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 o9F3OHh1075014 for ; Fri, 15 Oct 2010 03:24:17 GMT (envelope-from alc@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o9F3OHNY075013 for cvs-src-old@freebsd.org; Fri, 15 Oct 2010 03:24:17 GMT (envelope-from alc@repoman.freebsd.org) Message-Id: <201010150324.o9F3OHNY075013@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to alc@repoman.freebsd.org using -f From: Alan Cox Date: Fri, 15 Oct 2010 03:23:53 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/amd64/amd64 cpu_switch.S pmap.c src/sys/i386/i386 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: Fri, 15 Oct 2010 03:24:18 -0000 alc 2010-10-15 03:23:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/amd64/amd64 cpu_switch.S pmap.c sys/i386/i386 pmap.c Log: SVN rev 213887 on 2010-10-15 03:23:53Z by alc MFC r209789 Correctly maintain the per-cpu field "curpmap" on amd64 just like we do on i386. The consequences of not doing so on amd64 became apparent with the introduction of the COUNT_IPIS and COUNT_XINVLTLB_HITS options. Specifically, single-threaded applications were generating unnecessary IPIs to shoot-down the TLB on other processors. MFC r209887 Reduce the number of global TLB shootdowns generated by pmap_qenter(). Specifically, teach pmap_qenter() to recognize the case when it is being asked to replace a mapping with the very same mapping and not generate a shootdown. Revision Changes Path 1.169.2.3 +10 -12 src/sys/amd64/amd64/cpu_switch.S 1.667.2.13 +11 -6 src/sys/amd64/amd64/pmap.c 1.645.2.16 +9 -6 src/sys/i386/i386/pmap.c