Used by vzstat/dispatcher/libvirt. Faster than parsing Container's cpu cgroup files.
Konstantin Khorenko (3): vecalls: Add cpu stat measurement units comments to header ve/sched/loadavg: Provide task_group parameter to get_avenrun_ve() vecalls: Introduce VZCTL_GET_CPU_STAT ioctl include/linux/sched/loadavg.h | 2 - include/linux/ve.h | 2 + include/uapi/linux/vzcalluser.h | 14 +++---- kernel/sched/loadavg.c | 12 +++++- kernel/sys.c | 6 ++- kernel/time/time.c | 1 + kernel/ve/ve.c | 18 +++++++++ kernel/ve/vecalls.c | 66 +++++++++++++++++++++++++++++++++ 8 files changed, 109 insertions(+), 12 deletions(-) -- 2.28.0 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel