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

2012-05-14 Thread Osier Yang
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 +

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

2012-05-14 Thread Eric Blake
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

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

2012-05-12 Thread Osier Yang
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