[libvirt] [PATCH 1/2] qemu: Set memory policy using cgroup if placement is auto

Osier Yang jyang at redhat.com
Tue May 15 02:11:31 UTC 2012


On 2012年05月15日 06:59, Eric Blake wrote:
> 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.
>

Thanks, pushed.

Regards,
Osier




More information about the libvir-list mailing list