[libvirt] [PATCH 1/2] qemu: Set memory policy using cgroup if placement is auto
Eric Blake
eblake at redhat.com
Mon May 14 22:59:56 UTC 2012
On 05/12/2012 06:53 AM, Osier Yang wrote:
> Like for 'static' placement, when the memory policy mode is
> 'strict', set the memory policy by writing the advisory nodeset
> returned from numad to cgroup file cpuset.mems,
> ---
> src/qemu/qemu_cgroup.c | 15 +++++++++--
> src/qemu/qemu_cgroup.h | 3 +-
> src/qemu/qemu_process.c | 62 +++++++++++++++++++++++++----------------------
> 3 files changed, 47 insertions(+), 33 deletions(-)
>
Looks right to me.
ACK.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120514/7c69fd38/attachment-0001.sig>
More information about the libvir-list
mailing list