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

Peter Krempa pkrempa at redhat.com
Wed Jul 22 08:38:36 UTC 2015

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
> node in guaranteed ascending order, which is something that is
> required for some upcoming changes.
> ---
>  src/nodeinfo.c | 28 ++++++++++++++++++----------
>  1 file changed, 18 insertions(+), 10 deletions(-)

ACK with the fix to the argument count moved to previous patch.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150722/f2c90195/attachment-0001.sig>

More information about the libvir-list mailing list