Re: [PATCH 1/4] [x86] Add command line option to enable/disablehyper-threading.

From: Ben Collins
Date: Fri Dec 01 2006 - 08:42:02 EST


On Fri, 2006-12-01 at 13:29 +0000, Pavel Machek wrote:
> Hi!
>
> > This patch adds a config option to allow disabling hyper-threading by
> > default, and a kernel command line option to changes this default at
> > boot time.
>
> > +config X86_HT_DISABLE
> > + bool "Disable Hyper-Threading by default"
> > + depends on X86_HT
> > + default n
> > +
>
> Command line options are fine, but additional config options mirroring
> command line functionality look ugly to me...

There's actually two parts to the patch. One is the kernel command line
option to allow HT to be enabled/disabled. The second is this config
option that allows the default to be off instead of the current
always-on.

The idea is that we want our users to be able to use hyper-threading,
but we don't want it on by default.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/