[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4612B12A.30609@redhat.com>
Date: Tue, 03 Apr 2007 12:55:22 -0700
From: Ulrich Drepper <drepper@...hat.com>
To: "Siddha, Suresh B" <suresh.b.siddha@...el.com>
CC: Linux Kernel <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: getting processor numbers
Siddha, Suresh B wrote:a
> Not all of the cpu* directories in /sys/devices/system/cpu may be
> online.
Apparently this information isn't needed. It's very easy to verify:
$ ls /sys/devices/system/cpu/*/online
/sys/devices/system/cpu/cpu1/online /sys/devices/system/cpu/cpu2/online
/sys/devices/system/cpu/cpu3/online
This is a quad core machine and cpu0 doesn't have the 'online' file
(2.6.19 kernel). So, if nobody noticed this it's not needed and we can
just remove CPUs from /sys/devices/system/cpu when they are brought
offline, right?
--
➧ 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