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

2020-11-10 Thread Andrey Ryabinin



On 11/10/20 12:44 PM, Konstantin Khorenko wrote:
> 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(-)
> 
Reviewed-by: Andrey Ryabinin 
___
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel


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

2020-11-10 Thread Konstantin Khorenko
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