Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jan 2006 21:45:30 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Xin LI <delphij@FreeBSD.ORG>
Cc:        Scott Long <scottl@samsco.org>, Stokely <murray@FreeBSD.ORG>, cvs-doc@FreeBSD.ORG, cvs-all@FreeBSD.ORG, Murray, doc-committers@FreeBSD.ORG, Ceri Davies <ceri@submonkey.net>
Subject:   Re: cvs commit: www/en/releases/6.1R todo.sgml
Message-ID:  <20060128214530.076ca16c@Magellan.Leidinger.net>
In-Reply-To: <20060128145456.GA85441@hub.freebsd.org>
References:  <200601260957.k0Q9vCUn054132@repoman.freebsd.org> <20060126101706.GJ36965@submonkey.net> <43D8E73E.4050103@samsco.org> <20060128130506.5f15e598@Magellan.Leidinger.net> <20060128145456.GA85441@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 28 Jan 2006 14:54:57 +0000
Xin LI <delphij@FreeBSD.ORG> wrote:

> On Sat, Jan 28, 2006 at 01:05:06PM +0100, Alexander Leidinger wrote:
> > 
> > Since we don't enable the use of HT per default for security reasons
> > (or did this change without me noticing this?), we don't need to detect
> > HT in this case.
> 
> Because that the disable is implemented in a way that run idle cycle
> on the logical CPU I think we do need to detect it...

Replace "second" in the following with an appropriate number...

Not in this case, I think. If we have a UP kernel, the second hardware
tread isn't used. And if there's no second CPU core, there's no need to
use a SMP kernel at all. Since the loader only has to load the SMP
kernel when there's a second core, but not if there's a second hardware
thread, we just need those bits in the loader which detect the second
core (mptable) and not the HT detection bits.

Detecting and disabling HT when booting a SMP kernel can then happen as
usual.

Bye,
Alexander.

-- 
                      Loose bits sink chips.
http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7
WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/



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