lkml.org 
[lkml]   [2024]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH v1 0/3] cgroup/rstat: global cgroup_rstat_lock changes
From
Date
This patchset is focused on the global cgroup_rstat_lock.

Patch-1: Adds tracepoints to improve measuring lock behavior.
Patch-2: Converts the global lock into a mutex.
Patch-3: Limits userspace triggered pressure on the lock.

Background in discussion thread [1].
[1] https://lore.kernel.org/all/ac4cf07f-52dd-454f-b897-2a4b3796a4d9@kernel.org/

---

Jesper Dangaard Brouer (3):
cgroup/rstat: add cgroup_rstat_lock helpers and tracepoints
cgroup/rstat: convert cgroup_rstat_lock back to mutex
cgroup/rstat: introduce ratelimited rstat flushing


block/blk-cgroup.c | 2 +-
include/linux/cgroup-defs.h | 1 +
include/linux/cgroup.h | 5 +-
include/trace/events/cgroup.h | 48 +++++++++++++++
kernel/cgroup/rstat.c | 111 ++++++++++++++++++++++++++++++----
mm/memcontrol.c | 1 +
6 files changed, 153 insertions(+), 15 deletions(-)

--



\
 
 \ /
  Last update: 2024-04-16 19:51    [W:0.172 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site