On Tue, Jul 10, 2012 at 05:14:42PM +0800, tangchen wrote:
> vcpu threads pin are implemented using sched_setaffinity(), but not
> controlled by cgroup.
> This patch does the following things:
> 1) enable cpuset cgroup
I think it's better to make this part and adding of
virCgroupGetCpusetCpus/
vcpu threads pin are implemented using sched_setaffinity(), but not controlled
by cgroup.
This patch does the following things:
1) enable cpuset cgroup
2) reflect all the vcpu threads pin info to cgroup
Signed-off-by: Tang Chen
---
src/libvirt_private.syms |2 ++
src/qemu/qemu_cgrou
On 06/05/2012 02:17 AM, tangchen wrote:
> This patch enables cpuset cgroup, and synchronous vcpupin info set by
> sched_setaffinity() to cgroup.
>
This doesn't really give many details about what you are trying to do here.
> Signed-off-by: Tang Chen
> ---
> src/libvirt_private.syms |2 +
>
This patch enables cpuset cgroup, and synchronous vcpupin info set by
sched_setaffinity() to cgroup.
Signed-off-by: Tang Chen
---
src/libvirt_private.syms |2 +
src/qemu/qemu_cgroup.c | 51 -
src/qemu/qemu_cgroup.h |2 +
src/qemu/qemu_dr