From owner-freebsd-ia64@FreeBSD.ORG Wed Nov 19 04:00:24 2003 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD02E16A4CE for ; Wed, 19 Nov 2003 04:00:24 -0800 (PST) Received: from mail.speakeasy.net (mail8.speakeasy.net [216.254.0.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id EACE543FE0 for ; Wed, 19 Nov 2003 04:00:20 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 26321 invoked from network); 19 Nov 2003 12:00:20 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 19 Nov 2003 12:00:20 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id hAJC0GFn023315; Wed, 19 Nov 2003 07:00:16 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Wed, 19 Nov 2003 07:00:15 -0500 (EST) From: John Baldwin To: current@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Mailman-Approved-At: Wed, 19 Nov 2003 05:47:24 -0800 Subject: [PATCH] Please test SMP changes X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2003 12:00:24 -0000 [ Bcc'd to various arch mailing lists ] Please test the patch at http://www.FreeBSD.org/~jhb/patches/smp.patch You can apply it to a sys/ check out by using patch -p6. It moves the setting of mp_maxid into a separate function (cpu_mp_setmaxid()) that is called before loader tunables so that UMA and others can use it. cpu_mp_probe() is now called at SI_SUB_CPU / SI_ORDER_SECOND like it used to be. This is necessay to re-enable the ACPI module on i386. I have tested it on i386 but not on other archs. Please be sure to test that a normal SMP kernel works as well as booting an SMP kernel with 'kern.smp.disabled'. cpu_mp_probe() is no longer called if SMP is disabled in the loader using the tunable. Thanks. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/