ping... On Wed, Nov 07, 2012 at 06:38:40PM +0800, Hu Tao wrote: > The reason to disable cgroup cpuset by default is: currently, > sub-directories of cgroup cpuset won't be auto-updated if > cpu hot-plug happens. For example, if we now have 0-3,5-7 pcpus > online, the value of /sys/fs/cgroup/cpuset/libvirt/qemu/mydom/cpuset.cpus > is 0-3,5-7, then pcpu 4 is hot-plugged, but the value of cpuset.cpus > is still 0-3,5-7. This will cause a problem that we can't pin > to a hot-plugged pcpu. > > Users can still enable cpuset by editing qemu.conf. > > > Hu Tao (6): > cgroup: Add a flag VIR_CGROUP_DISABLE_CPUSET > create cgroup controllers for driver according to config > create cgroup controllers for domain according to config > create cgroup controllers for vcpu according to config > create cgroup controllers for emulator according to config > disable cgroup cpuset by default > > src/lxc/lxc_cgroup.c | 4 +-- > src/lxc/lxc_driver.c | 22 ++++++------ > src/lxc/lxc_process.c | 4 +-- > src/qemu/qemu.conf | 2 +- > src/qemu/qemu_cgroup.c | 15 ++++---- > src/qemu/qemu_conf.c | 1 - > src/qemu/qemu_driver.c | 92 +++++++++++++++++++++++++++++------------------ > src/qemu/qemu_hotplug.c | 9 +++-- > src/qemu/qemu_migration.c | 2 +- > src/util/cgroup.c | 49 +++++++++++++++++++------ > src/util/cgroup.h | 12 ++++--- > 11 files changed, 136 insertions(+), 76 deletions(-) > > -- > 1.7.11.7 > > -- > libvir-list mailing list > libvir-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/libvir-list -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list