Date: Mon, 9 Nov 2009 02:54:16 +0000 (UTC) From: Jun Kuriyama <kuriyama@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/amd64 initcpu.c src/sys/i386/i386 initcpu.c Message-ID: <200911090255.nA92t43h001056@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kuriyama 2009-11-09 02:54:16 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 initcpu.c
sys/i386/i386 initcpu.c
Log:
SVN rev 199067 on 2009-11-09 02:54:16Z by kuriyama
- Add hw.clflush_disable loader tunable to avoid panic (trap 9) at
map_invalidate_cache_range() even if CPU is not Intel.
- This tunable can be set to -1 (default), 0 and 1. -1 is same as
current behavior, which automatically disable CLFLUSH on Intel CPUs
without CPUID_SS (should be occured on Xen only). You can specify 1
when this panic happened on non-Intel CPUs (such as AMD's). Because
disabling CLFLUSH may reduce performance, you can try with setting 0
on Intel CPUs without SS to use CLFLUSH feature.
Reviewed by: kib
Reported by: karl, kuriyama
Related to: kern/138863
Revision Changes Path
1.57 +18 -1 src/sys/amd64/amd64/initcpu.c
1.64 +18 -1 src/sys/i386/i386/initcpu.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911090255.nA92t43h001056>
