From owner-cvs-src@FreeBSD.ORG Sat May 14 09:54:59 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id CA85716A4D0; Sat, 14 May 2005 09:54:59 +0000 (GMT) Date: Sat, 14 May 2005 09:54:59 +0000 From: Alexey Dokuchaev To: Colin Percival Message-ID: <20050514095459.GB81770@FreeBSD.org> References: <200505130001.j4D01KcE015393@repoman.freebsd.org> <20050514093203.GA81770@FreeBSD.org> <4285C73B.3040409@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4285C73B.3040409@freebsd.org> User-Agent: Mutt/1.4.2.1i cc: Jacques Vidrine cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/amd64/amd64 mp_machdep.c src/sys/amd64/include cpufunc.h src/sys/i386/i386 mp_machdep.c src/sys/i386/include cpufunc.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Sat, 14 May 2005 09:54:59 -0000 On Sat, May 14, 2005 at 05:39:07AM -0400, Colin Percival wrote: > Alexey Dokuchaev wrote: > > On Fri, May 13, 2005 at 12:01:20AM +0000, Jacques Vidrine wrote: > >> Add a knob for disabling/enabling HTT, "machdep.hyperthreading_allowed". > >> Default off due to information disclosure on multi-user systems. > > > > Why not name it "machdep.hyperthreading_enabled" or even "machdep.htt_enabled" > > for consistency with other ones? > > I was aiming for consistency with other security-related knobs: > > security.jail.set_hostname_allowed > security.jail.sysvipc_allowed > security.jail.chflags_allowed > > I ended up putting hyperthreading_allowed under machdep rather than security > because 4.x doesn't have a security sysctl node, but the name was chosen to > emphasize that hyperthreading is currently something dangerous which should > be permitted only under certain circumstances, rather than a feature which > can be enabled or disabled however you like. Fair enough, thanks. ./danfe