Date: Tue, 26 Jan 2010 20:58:09 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org 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 Message-ID: <201001262058.o0QKwhe8021244@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001262058.o0QKwhe8021244>