[Devel] [PATCH rh8 0/3] vecalls: Implement VZCTL_GET_CPU_STAT ioctl

Konstantin Khorenko khorenko at virtuozzo.com
Tue Nov 10 12:44:52 MSK 2020


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



More information about the Devel mailing list