Daniel Veillard wrote:
+ * If maxCells == -1, the free memory will be summed across all cells and + * returned in freeMems[0].Hum, that -1 handling is a bit surprizing, but apparently that's what the Xen hypercall does. It's a bit convoluted as an API to get the fullfree memory on a Node, maybe this should be separated as a different APIas people looking for this information may not think about looking at NUMA special entry points. We don't have currently a simple API toget the free memory on a Node, maybe that should be added.
Having the separate semantics is necessary because it seems like this can be done in a single hypercall if the caller only needs to know the total free memory.
Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list