[lkml]   [2015]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCHSET sched,cgroup] sched: Implement interface for cgroup unified hierarchy

This patchset implements cpu controller's interface for unified
hierarchy. While cpu controller didn't have structural issues that
memcg and blkcg had, there still are minor issues such as cpuacct and
use of different time units and its interface can be made consistent
with other controllers so that cgroup as a whole presents uniform ways
to achieve similar things with different resources.

This patchset contains the following three patches.


The "Controller file conventions" section in
Documentation/cgroups/unified-hierarchy.txt which is added by the
first patch codifies the syntax and semantics for controller knobs and
the next two patches implement the new interface for the cpu

The first patch is needed by blkcg too, so once the changes get acked
I'll set up a branch containing the patch so that it can be pulled
from both sched and blkcg.

This patchset is on top of v4.2-rc1 and also available in the
following git branch.

git:// review-sched-unified-intf

diffstat follows, thanks.

Documentation/cgroups/unified-hierarchy.txt | 128 +++++++++++++++++++-
include/linux/cgroup.h | 9 +
kernel/sched/core.c | 173 +++++++++++++++++++++++++++-
kernel/sched/cpuacct.c | 57 ++++++---
kernel/sched/cpuacct.h | 5
5 files changed, 342 insertions(+), 30 deletions(-)


 \ /
  Last update: 2015-08-04 01:01    [W:0.258 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site