Subject: Re: port-amd64/37461: x86 cpu dmesg output is noisy
To: None <port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Andrew Doran <ad@netbsd.org>
List: netbsd-bugs
Date: 12/09/2007 03:30:03
The following reply was made to PR port-amd64/37461; it has been noted by GNATS.
From: Andrew Doran <ad@netbsd.org>
To: "Jared D. McNeill" <jmcneill@invisible.ca>
Cc: gnats-bugs@NetBSD.org, port-amd64-maintainer@netbsd.org,
gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: port-amd64/37461: x86 cpu dmesg output is noisy
Date: Sun, 9 Dec 2007 03:28:30 +0000
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.
Andrew