All of lore.kernel.org
 help / color / mirror / Atom feed
* sysconf() problem on Dom0
@ 2006-06-26 11:07 SUZUKI Kazuhiro
  2006-06-28 17:16 ` Create VM with libxc ferrucci
  0 siblings, 1 reply; 7+ messages in thread
From: SUZUKI Kazuhiro @ 2006-06-26 11:07 UTC (permalink / raw)
  To: xen-devel

Hi all,

I think patches/linux-2.6.16.13/xen-hotplug.patch does not work
correctly.

When I got a # of online CPUs by sysconf(_SC_NPROCESSORS_ONLN), this
function returns a # of all online and offline CPUs.

xen-hotplug.patch shows all CPUs including offline, but sysconf also
reads /proc/stat and counts online CPUs.

We should modify TOP command to use sysconf().

Thanks,
KAZ

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-06-28 19:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-26 11:07 sysconf() problem on Dom0 SUZUKI Kazuhiro
2006-06-28 17:16 ` Create VM with libxc ferrucci
2006-06-28 17:30   ` Petersson, Mats
2006-06-28 17:37     ` ferrucci
2006-06-28 17:48       ` Petersson, Mats
2006-06-28 17:56         ` ferrucci
2006-06-28 19:49   ` Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.