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