[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46129619.8050107@redhat.com>
Date: Tue, 03 Apr 2007 10:59:53 -0700
From: Ulrich Drepper <drepper@...hat.com>
To: "Siddha, Suresh B" <suresh.b.siddha@...el.com>
CC: Andi Kleen <andi@...stfloor.org>,
Linux Kernel <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: getting processor numbers
Siddha, Suresh B wrote:
> Not all of the cpu* directories in /sys/devices/system/cpu may be
> online.
Brilliant. You people really know how to create user interfaces. So
now in any case per CPU another stat/access syscall is needed to check
the 'online' pseudo-file? With this the readdir solution is only
marginally faster than parsing /proc/cpuinfo which means, it's
unacceptably slow.
I cannot believe all these big system people are allowed to screw
everybody else up with their nonsense.
So, anybody else has a proposal? This is a pressing issue and cannot
wait until someday in the distant future NUMA topology information is
easily and speedily accessible.
--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
Download attachment "signature.asc" of type "application/pgp-signature" (252 bytes)
Powered by blists - more mailing lists