|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] sysconf() problem on Dom0
 
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
 | 
    | 
  
  
    |   | 
    |