Re: [libvirt] [PATCH 04/13] Enable cpuset cgroup and synchronous vcpupin info to cgroup.

2012-07-24 Thread Hu Tao
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/

[libvirt] [PATCH 04/13] Enable cpuset cgroup and synchronous vcpupin info to cgroup.

2012-07-10 Thread tangchen
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

Re: [libvirt] [PATCH 04/13] Enable cpuset cgroup and synchronous vcpupin info to cgroup

2012-07-02 Thread Eric Blake
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 + >

[libvirt] [PATCH 04/13] Enable cpuset cgroup and synchronous vcpupin info to cgroup

2012-06-05 Thread tangchen
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