From owner-freebsd-smp Mon Nov 9 01:38:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA05826 for freebsd-smp-outgoing; Mon, 9 Nov 1998 01:38:30 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from haldjas.folklore.ee (Haldjas.folklore.ee [193.40.6.121]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA05819; Mon, 9 Nov 1998 01:38:26 -0800 (PST) (envelope-from narvi@haldjas.folklore.ee) Received: from haldjas.folklore.ee (haldjas.folklore.ee [172.17.2.1] (may be forged)) by haldjas.folklore.ee (8.8.8/8.8.4) with SMTP id LAA26286; Mon, 9 Nov 1998 11:36:52 +0200 (EET) Date: Mon, 9 Nov 1998 11:36:51 +0200 (EET) From: Narvi To: Bruce Evans cc: peter@netplex.com.au, current@FreeBSD.ORG, jc@irbs.com, mike@smith.net.au, smp@FreeBSD.ORG Subject: Re: Dog Sloooow SMP In-Reply-To: <199811090848.TAA14661@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 9 Nov 1998, Bruce Evans wrote: > >> It's only OK for MII's because of various `#if 0's and `#ifdef SMP's > >> that prevent non-OK code from running on MII's. > > > >I think it should be CPU specific, not cpu class specific. The > >model-specific-registers are very specific to the Intel family. I'd be a > >lot happier if it was 'if (cpu == CPU_686 || cpu == CPU_PII) ...' Of > >course, feature tests would be better. 'if (cpu_features & CF_PPRO_MSR)...' > >The problem is that there is a 'cpu_feature' already for the CPUID. We > >need more general flags than what Intel choose to tell us. > > FreeBSD should use its own bitmap of capabilities and not test the Intel > flags except once to translate them. 32 general flags might even be > enough. > How about 64 for the odd case that K7 actually materialises as promised and people start putting them in dual motherboards? Or will that (SMP support for EV7 like systems) resolved with support for SMP Alpha? > Bruce Sander There is no love, no good, no happiness and no future - all these are just illusions. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message