Re: [libvirt] [PATCH v2 09/10] nodeinfo: Use a bitmap to keep track of node CPUs

2015-07-22 Thread Peter Krempa
On Mon, Jul 20, 2015 at 18:37:29 +0200, Andrea Bolognani wrote: > Keep track of what CPUs belong to the current node while walking > through the sysfs node entry, so we don't need to do it a second > time immediately afterwards. > > This also allows us to loop through all CPUs that are part of a >

[libvirt] [PATCH v2 09/10] nodeinfo: Use a bitmap to keep track of node CPUs

2015-07-20 Thread Andrea Bolognani
Keep track of what CPUs belong to the current node while walking through the sysfs node entry, so we don't need to do it a second time immediately afterwards. This also allows us to loop through all CPUs that are part of a node in guaranteed ascending order, which is something that is required for