Re: [PATCH 3/3] qemu cgroups: move new threads to new cgroup after cpuset is set up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 11/13/2015 11:57 AM, Henning Schild wrote:
> Moving tasks to cgroups implied sched_setaffinity. Changing the cpus in
> a set implies the same for all tasks in the group.
> The old code put the the thread into the cpuset inherited from the
> machine cgroup, which allowed it to run outside of vcpupin for a short
> while.
> 
> Signed-off-by: Henning Schild <henning.schild@xxxxxxxxxxx>
> ---
>  src/qemu/qemu_cgroup.c | 19 ++++++++++---------
>  1 file changed, 10 insertions(+), 9 deletions(-)
> 

This seems reasonable and follows (more or less) what was done for the
emulator at least with respect to order of operations.

Another weak ACK -

John

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]