cvs commit: www/en/releases/6.1R todo.sgml

Alexander Leidinger Alexander at Leidinger.net
Sat Jan 28 12:45:35 PST 2006


On Sat, 28 Jan 2006 14:54:57 +0000
Xin LI <delphij at 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/


More information about the cvs-all mailing list