From owner-cvs-src@FreeBSD.ORG Wed Nov 28 23:24:07 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C17C716A418; Wed, 28 Nov 2007 23:24:07 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C3F0113C478; Wed, 28 Nov 2007 23:24:07 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lASNO7DZ058718; Wed, 28 Nov 2007 23:24:07 GMT (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lASNO75D058717; Wed, 28 Nov 2007 23:24:07 GMT (envelope-from cperciva) Message-Id: <200711282324.lASNO75D058717@repoman.freebsd.org> From: Colin Percival Date: Wed, 28 Nov 2007 23:24:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/amd64/amd64 mp_machdep.c src/sys/i386/i386 mp_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2007 23:24:07 -0000 cperciva 2007-11-28 23:24:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/amd64/amd64 mp_machdep.c sys/i386/i386 mp_machdep.c Log: Back out previous commit; i.e., turn hyperthreading back on by default. Newer Intel processors have better hyperthreading implementations than the original ones, and FreeBSD's SMP and scheduler code has greatly improved between 6.x and 7.x; so hyperthreading now provides a non-trivial performance win. Note that security issues involving shared caches and other microarchitectural features (e.g., dynamic branch prediction tables) still exist; consequently, it is recommended that hyperthreading be turned off on systems with untrusted local users. This can be performed by setting machdep.hyperthreading_allowed=0 in /boot/loader.conf. Hyperthreading will continue to be disabled by default on FreeBSD 6.x. Requested by: core Approved by: re (kensmith) Security: See FreeBSD-SA-05:09.htt for background information. Revision Changes Path 1.287.2.2 +1 -1 src/sys/amd64/amd64/mp_machdep.c 1.281.2.2 +1 -1 src/sys/i386/i386/mp_machdep.c