Re: [PATCHv2 03/11] Add functions to set/get cgroup cpuset parameters

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

 



On Thu, Nov 17, 2011 at 05:44:13PM +0800, Hu Tao wrote:
> ---
>  src/libvirt_private.syms |   10 ++++
>  src/util/cgroup.c        |  112 ++++++++++++++++++++++++++++++++++++++++++++++
>  src/util/cgroup.h        |   11 +++++
>  3 files changed, 133 insertions(+), 0 deletions(-)
> 
> diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
> index b9d537e..d48b7dc 100644
> --- a/src/libvirt_private.syms
> +++ b/src/libvirt_private.syms
> @@ -78,6 +78,11 @@ virCgroupGetCpuShares;
>  virCgroupGetCpuCfsPeriod;
>  virCgroupGetCpuCfsQuota;
>  virCgroupGetCpuacctUsage;
> +virCgroupGetCpusetHardwall;
> +virCgroupGetCpusetMemExclusive;
> +virCgroupGetCpusetMemorySpreadPage;
> +virCgroupGetCpusetMemorySpreadSlab;

IMHO these 4 are not required.

> +virCgroupGetCpusetMems;

Just this one is needed.

>  virCgroupGetFreezerState;
>  virCgroupGetMemoryHardLimit;
>  virCgroupGetMemorySoftLimit;
> @@ -93,6 +98,11 @@ virCgroupSetBlkioWeight;
>  virCgroupSetCpuShares;
>  virCgroupSetCpuCfsPeriod;
>  virCgroupSetCpuCfsQuota;
> +virCgroupSetCpusetHardwall;
> +virCgroupSetCpusetMemExclusive;
> +virCgroupSetCpusetMemorySpreadPage;
> +virCgroupSetCpusetMemorySpreadSlab;

Nor these 4.

> +virCgroupSetCpusetMems;

Just this one


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

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