Date: Sat, 06 Jan 2001 15:13:23 -0500 From: Jake Burkholder <jburkhol@home.com> To: Alfred Perlstein <bright@wintelcom.net> Cc: smp@FreeBSD.ORG Subject: Re: [patch] cpuid on UP systems Message-ID: <20010106201323.67AFABA7D@cr66388-a.rchrd1.on.wave.home.com> In-Reply-To: Message from Alfred Perlstein <bright@wintelcom.net> of "Fri, 05 Jan 2001 14:27:31 PST." <20010105142731.R15744@fw.wintelcom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> * Jake Burkholder <jake@cr66388-a.rchrd1.on.wave.home.c> [010105 13:31] wrote: > > > I need cpuid to work on UP systems, this untested patch seems to > > > compile ok, I'm wondering if I'm headed in the right direction here? > > > > > > John, Jake? > > > > > > > No, please wait a little. I will do a major overhaul of the per-cpu > > variable stuff this weekend which will make cpuid and some other things > > ubiquitous. > > Er, ok, but I'm counting on it so I can begin testing/benching my > new allocator. > Ok, this is done. I think I forgot to initialize it for i386 UP though, so it might be garbage. Do something like __globaldata.gd_cpuid = 0 where its setup in machdep.c:init386(). I'll fix this as soon as I can. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010106201323.67AFABA7D>