Re: [libvirt] [PATCH 10/10] nodeinfo: Calculate present and online CPUs only once

2015-07-20 Thread Peter Krempa
On Mon, Jul 20, 2015 at 15:59:02 +0200, Andrea Bolognani wrote: > Move the calls to the respective functions from virNodeParseNode(), > which is executed once for every NUMA node, to > linuxNodeInfoCPUPopulate(), which is executed just once per host. > --- > src/nodeinfo.c | 49 +++

[libvirt] [PATCH 10/10] nodeinfo: Calculate present and online CPUs only once

2015-07-20 Thread Andrea Bolognani
Move the calls to the respective functions from virNodeParseNode(), which is executed once for every NUMA node, to linuxNodeInfoCPUPopulate(), which is executed just once per host. --- src/nodeinfo.c | 49 + 1 file changed, 29 insertions(+), 20 delet