Messages in this thread | | | Date | Tue, 03 Apr 2007 22:32:17 +0200 | From | Eric Dumazet <> | 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |