Subject: Re: port-amd64/37461: x86 cpu dmesg output is noisy
To: Jared D. McNeill <>
From: Andrew Doran <>
List: netbsd-bugs
Date: 12/09/2007 03:28:30
On Sat, Dec 08, 2007 at 10:16:14PM -0500, Jared D. McNeill wrote:
> On Sun, 9 Dec 2007, Andrew Doran wrote:
> >I think most of the CPU ident stuff should move into userland. The kernel
> >doesn't need much of it to operate, as far as I remember only basic info
> >about the cache, the frequency, cpu family and features. It should not be
> >too hard to port the code to userland and make the info available there.
> >cpuctl might be a good location for it.
> What about eg. arch/i386/i386/procfs_machdep.c ?

We need to preserve the info there but getting it is easy, just make a few
cpuid calls. A lot of the verbose identifcation stuff could move out.