[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4612B9D1.4060404@cosmosbay.com>
Date: Tue, 03 Apr 2007 22:32:17 +0200
From: Eric Dumazet <dada1@...mosbay.com>
To: Ulrich Drepper <drepper@...hat.com>
CC: "Siddha, Suresh B" <suresh.b.siddha@...el.com>,
Linux Kernel <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: getting processor numbers
Ulrich Drepper a écrit :
> Siddha, Suresh B wrote:
>> No. Logical cpu hotplug uses these interfaces to make a cpu go offline
>> and online.
>
> You missed my sarcasms, email is bad for conveying it. The point is
> nobody really cares about that hotplug nonsense to have noticed the bug.
> And still does this nonsense prevent real problems from being addressed.
>
Please dont focus on /sys being your holy gral.
1) AFAIK /sys/devices/system/cpu was not designed to meet glibc needs.
2) Many production machines dont mount /sys at all
$ uname -r
2.6.20
$ ls -al /sys/devices/system/cpu
ls: /sys/devices/system/cpu: No such file or directory
$ grep processor /proc/cpuinfo
processor : 0
processor : 1
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists