Re: [PATCH] cgroups: Do not enforce nonexistent controllers

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

 



On 23.05.2013 15:26, Viktor Mihajlovski wrote:
> Currently, the controllers argument to virCgroupDetect acts both as
> a result filter and a required controller specification, which is
> a bit overloaded. If both functionalities are needed, it would be
> better to have them seperated into a filter and a requirement mask.
> The only situation where it is used today is to ensure that only
> CPU related controllers are used for the VCPU directories. But here
> we clearly do not want to enforce the existence of cpu, cpuacct and
> specifically not cpuset at the same time.
> This commit changes the semantics of controllers to "filter only".
> Should a required mask ever be needed, more work will have to be done.
> 
> Signed-off-by: Viktor Mihajlovski <mihajlov@xxxxxxxxxxxxxxxxxx>
> ---
>  src/util/vircgroup.c  |    8 ++++----
>  tests/vircgrouptest.c |    4 ++--
>  2 files changed, 6 insertions(+), 6 deletions(-)
> 

ACKed and pushed.

Michal

--
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]