From owner-freebsd-current@FreeBSD.ORG Wed Nov 19 10:28:30 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0ED316A4CE for ; Wed, 19 Nov 2003 10:28:30 -0800 (PST) Received: from mail.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA61F43FAF for ; Wed, 19 Nov 2003 10:28:29 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 16828 invoked from network); 19 Nov 2003 18:28:29 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 19 Nov 2003 18:28:29 -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 hAJISPFn025153; Wed, 19 Nov 2003 13:28:25 -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 In-Reply-To: <3FBB9768.6010503@btinet.net> Date: Wed, 19 Nov 2003 13:28:24 -0500 (EST) From: John Baldwin To: Peter Schultz X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: current@FreeBSD.org Subject: Re: [PATCH] Please test SMP changes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 19 Nov 2003 18:28:30 -0000 On 19-Nov-2003 Peter Schultz wrote: > John Baldwin wrote: >> [ 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. >> > What all do I need to adjust on my end, other patches? I took 'device > acpi' out of my kernel, but if I try to boot with the acpi module > loaded, the kernel still uses MPTable for interrupts: No, please. Don't disable ACPI. This is not all the patches to do that. Mostly I just want to mkae sure that I don't break SMP probing on all the different architectures. i386 seems to be working fine, I'm primarily after testing on the other archs: alpha, amd64, ia64, and sparc64 in particular to make sure I didn't break SMP probing on those archs. To be clear: ACPI needs _more_ patches in addition to smp.patch before it will work as a module again. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/