From owner-cvs-all@FreeBSD.ORG Sat Jan 28 20:45:35 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.ORG Delivered-To: cvs-all@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC3D616A420; Sat, 28 Jan 2006 20:45:35 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0139E43D46; Sat, 28 Jan 2006 20:45:34 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5F4B2.dip.t-dialin.net [84.165.244.178]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k0SKahi8050969; Sat, 28 Jan 2006 21:36:44 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k0SKjTmB055208; Sat, 28 Jan 2006 21:45:29 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sat, 28 Jan 2006 21:45:30 +0100 From: Alexander Leidinger To: Xin LI 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> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: Scott Long , Stokely , cvs-doc@FreeBSD.ORG, cvs-all@FreeBSD.ORG, Murray, doc-committers@FreeBSD.ORG, Ceri Davies Subject: Re: cvs commit: www/en/releases/6.1R todo.sgml X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2006 20:45:35 -0000 On Sat, 28 Jan 2006 14:54:57 +0000 Xin LI 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/