Re: Linux 2.4.19ac3rc3 on IBM x330/x340 SMP - "ps" time skew

Alan Cox (alan@lxorguk.ukuu.org.uk)
01 Aug 2002 02:30:57 +0100


On Thu, 2002-08-01 at 00:49, Dave Jones wrote:
> On Thu, Aug 01, 2002 at 01:37:17AM +0100, Alan Cox wrote:
> > > Add a proper ABI now, and userspace can transition to it
> > > over the next 4 years.
> >
> > Which is what I've been talking to Ulrich about.
>
> I thought this was the idea behind sysconf(__SC_NPROCESSORS_CONF) ?

sysconf is implemented in glibc. Right now this is done by poking around
in /proc/cpuinfo. The kernel doesn't export the data very nicely. With
2.5 and Rusty's hot swappable processors we need to export the data even
more explicitly.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/