cpuacct: Introduce cgroup_account_cputime[_field]()
authorTejun Heo <tj@kernel.org>
Mon, 25 Sep 2017 15:12:04 +0000 (08:12 -0700)
committerTejun Heo <tj@kernel.org>
Mon, 25 Sep 2017 15:12:04 +0000 (08:12 -0700)
commitd2cc5ed6949085cfba30ec5228816cf6eb1d02b9
tree52cd7323c6a2068f4ec1b4a08ad8a3ad674f5c81
parentcfb766da54d98ceb145e1bb0bd11c559569dcbfc
cpuacct: Introduce cgroup_account_cputime[_field]()

Introduce cgroup_account_cputime[_field]() which wrap cpuacct_charge()
and cgroup_account_field().  This doesn't introduce any functional
changes and will be used to add cgroup basic resource accounting.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
include/linux/cgroup.h
kernel/sched/cpuacct.h [deleted file]
kernel/sched/cputime.c
kernel/sched/deadline.c
kernel/sched/fair.c
kernel/sched/rt.c
kernel/sched/sched.h
kernel/sched/stop_task.c