Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 May 2005 05:39:07 -0400
From:      Colin Percival <cperciva@freebsd.org>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/amd64/amd64 mp_machdep.csrc/sys/amd64/include cpufunc.h src/sys/i386/i386 mp_machdep.c src/sys/i386/include cpufunc.h
Message-ID:  <4285C73B.3040409@freebsd.org>
In-Reply-To: <20050514093203.GA81770@FreeBSD.org>
References:  <200505130001.j4D01KcE015393@repoman.freebsd.org> <20050514093203.GA81770@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Colin Percival



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4285C73B.3040409>