[Devel] [PATCH rh7 v4 0/5] vz/latencies

Andrey Ryabinin aryabinin at virtuozzo.com
Thu Aug 30 16:54:16 MSK 2018


Changes since v3:
 - Fixed bug resulting in showing wrong value for Lat field in /proc/vz/latency
 - Add scheduling latencies (5'th patch)

Chnages since v2:
 - fix header text.
 - Change the way max value calculated. Instead of reset the val once per 2 min
    record 2 maxes per minute in last 2 minutes and show the max of these maxes. 

Changes since v1:
 - change period from 1sec to 2min


Andrey Ryabinin (5):
  linux/preempt_mask.h: Add in_task() macro.
  vz_latency: don't account allocations in interrupts to random tasks
  /proc/vz/latency: distinguish atomic allocations in irq from in task
    atomics.
  /proc/<pid>/vz_latency: Show maximal allocation latency in the last
    second.
  /proc/<pid>/vz_latency: Add scheduling stats

 fs/proc/base.c               | 46 ++++++++++++++++++++++++++++++---------
 include/linux/kstat.h        |  9 +++++++-
 include/linux/preempt_mask.h |  2 ++
 include/linux/sched.h        |  4 ++--
 include/linux/vzstat.h       | 15 +++++++++++++
 kernel/exit.c                | 13 ++++++++++-
 kernel/sched/fair.c          |  3 +++
 kernel/ve/vzstat.c           | 23 +++++++++++++++++---
 kernel/ve/vzstat_core.c      |  6 +++---
 mm/page_alloc.c              | 51 +++++++++++++++++++++++++++++++++++++++-----
 10 files changed, 147 insertions(+), 25 deletions(-)

-- 
2.16.4



More information about the Devel mailing list