Re: [PATCH 37/53] vircgroup: introduce virCgroupV2SetCpuCfsPeriod

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

 



On 10/02/2018 10:44 AM, Pavel Hrdina wrote:
> In order to set CPU cfs period using cgroup v2 'cpu.max' interface
> we need to load the current value of CPU cfs quota first because
> format of 'cpu.max' interface is '$quota $period' and in order to
> change 'period' we need to write 'quota' as well.  Writing only one
> number changes only 'quota'.
> 
> Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
> ---
>  src/util/vircgroupv2.c | 68 ++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 68 insertions(+)

ACK

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]

  Powered by Linux