From owner-freebsd-current@FreeBSD.ORG Fri Jul 27 13:48:41 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7139016A419; Fri, 27 Jul 2007 13:48:41 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 5A83D13C458; Fri, 27 Jul 2007 13:48:41 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from rot26.obsecurity.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 90E1F1A4D7C; Fri, 27 Jul 2007 06:48:36 -0700 (PDT) Received: by rot26.obsecurity.org (Postfix, from userid 1001) id B9EB9BB74; Fri, 27 Jul 2007 09:48:40 -0400 (EDT) Date: Fri, 27 Jul 2007 09:48:40 -0400 From: Kris Kennaway To: Attilio Rao Message-ID: <20070727134840.GA7305@rot26.obsecurity.org> References: <20070721174631.S561@10.0.0.1> <20070722114846.GA97996@rulez.sk> <20070722121631.GA8336@rulez.sk> <200707261750.19994.peter@wemm.org> <46A9C437.1080504@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: <46A9C437.1080504@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: Milos Vyletel , current@freebsd.org, Peter Wemm Subject: Re: ULE status, invalid load, buildkernel times. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2007 13:48:41 -0000 --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 27, 2007 at 12:08:55PM +0200, Attilio Rao wrote: > The patch is not going to work as the slot for SI_ORDER_SECOND was=20 > alredy held by kern/subr_smp.c::mp_start() function. >=20 > Could you please try this comprehensive patch? > It has a fix for the mp_start / lapic_init confusion and some tricks=20 > with CNXT-ID bit which should exactly identify HTT: > http://people.freebsd.org/~attilio/machdep_lapic.diff >=20 > I have still to stress test it, so please use caution. I will update=20 > soon if I will have more information (a 'work for me' / 'don't work for= =20 > me' would be very appreciated though). This works for me on three systems: A real HTT system (kern.sched.topology is correctly set to 1) A dual core amd64 system (previously mis-probed as HTT, now correctly not) A quad core intel system (not previously mis-probed as HTT, but broken with Peter's patch). Kris --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFGqfe4Wry0BWjoQKURAj+dAKC87LSt6to+/M4H0LNDemoXLL8J5gCg45me 2KRL/XEi7aKNdFWmwmVBK3c= =DPuL -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga--