From owner-cvs-src-old@FreeBSD.ORG Tue Jan 26 20:58:44 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 3E416106568D for ; Tue, 26 Jan 2010 20:58:44 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0F28F8FC17 for ; Tue, 26 Jan 2010 20:58:44 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o0QKwhNp021245 for ; Tue, 26 Jan 2010 20:58:43 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o0QKwhe8021244 for cvs-src-old@freebsd.org; Tue, 26 Jan 2010 20:58:43 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <201001262058.o0QKwhe8021244@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Tue, 26 Jan 2010 20:58:09 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/amd64/amd64 initcpu.c machdep.c pmap.c src/sys/amd64/include cpufunc.h md_var.h src/sys/i386/i386 initcpu.c pmap.c vm_machdep.c src/sys/i386/include cpufunc.h md_var.h pmap.h sf_buf.h 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: Tue, 26 Jan 2010 20:58:44 -0000 jhb 2010-01-26 20:58:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/amd64 initcpu.c machdep.c pmap.c sys/amd64/include cpufunc.h md_var.h sys/i386/i386 initcpu.c pmap.c vm_machdep.c sys/i386/include cpufunc.h md_var.h pmap.h sf_buf.h Log: SVN rev 203047 on 2010-01-26 20:58:09Z by jhb MFC 195820, 195940, 196643, 197663, 199067, 199215, and 199253: Optimize the cache flushing done when changing caching attributes of pages by doing nothing for CPUs that support self-snooping and using CLFLUSH instead of a full cache invalidate when possible. - On i386 take care of possible mappings of the page by sf buffer by utilizing the mapping for clflush, otherwise map the page transiently. Amd64 uses the direct map. - Do not use CLFLUSH on Intel CPUs due to problems with flushing the local APIC range by default. This can be further controlled via the hw.clflush_disable loader tunable. A setting of 1 disables the use of CLFLUSH. A setting of 0 allows CLFLUSH to be used for Intel CPUs when CPUID_SS is not present. Approved by: re (kib) Revision Changes Path 1.50.2.5 +35 -0 src/sys/amd64/amd64/initcpu.c 1.675.2.15 +1 -0 src/sys/amd64/amd64/machdep.c 1.590.2.34 +42 -10 src/sys/amd64/amd64/pmap.c 1.148.10.2 +14 -0 src/sys/amd64/include/cpufunc.h 1.81.2.4 +2 -0 src/sys/amd64/include/md_var.h 1.56.2.5 +30 -0 src/sys/i386/i386/initcpu.c 1.594.2.26 +79 -17 src/sys/i386/i386/pmap.c 1.283.2.5 +35 -1 src/sys/i386/i386/vm_machdep.c 1.145.2.3 +14 -0 src/sys/i386/include/cpufunc.h 1.76.2.3 +1 -0 src/sys/i386/include/md_var.h 1.128.2.8 +2 -0 src/sys/i386/include/pmap.h 1.4.10.1 +2 -0 src/sys/i386/include/sf_buf.h