[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1458187654.git.zhaolei@cn.fujitsu.com>
Date: Thu, 17 Mar 2016 12:19:41 +0800
From: Zhao Lei <zhaolei@...fujitsu.com>
To: <linux-kernel@...r.kernel.org>, Tejun Heo <htejun@...il.com>,
Peter Zijlstra <peterz@...radead.org>
CC: Zhao Lei <zhaolei@...fujitsu.com>
Subject: [PATCH v3 0/3] cpuacct: split usage into user_usage and sys_usage
Sometimes, cpuacct.usage is not detialed enough to user
to see how much usage a group used. We want to know how
much time it used in user mode and how much in kernel mode.
This patch introduce some more files to tell user these information.
# ls /sys/fs/cgroup/cpuacct/cpuacct.usage*
/sys/fs/cgroup/cpuacct/cpuacct.usage
/sys/fs/cgroup/cpuacct/cpuacct.usage_percpu
/sys/fs/cgroup/cpuacct/cpuacct.usage_user
/sys/fs/cgroup/cpuacct/cpuacct.usage_percpu_user
/sys/fs/cgroup/cpuacct/cpuacct.usage_sys
/sys/fs/cgroup/cpuacct/cpuacct.usage_percpu_sys
Changelog v2->v3:
1: Remove some unnecessary locks and so some cleanup based on
suggestion from Peter Zijlstra <peterz@...radead.org>
Changelog v1->v2:
1: Rebase on top of 4.5-rc6
2: Fix little spelling typo in description.
3: Fix line over 80 characters
Yang Dongsheng (2):
cpuacct: rename parameter in cpuusage_write for readability
cpuacct: split usage into user_usage and sys_usage.
Zhao Lei (1):
Some small restruct for cpuacct
kernel/sched/cpuacct.c | 165 +++++++++++++++++++++++++++++++++++--------------
kernel/sched/cpuacct.h | 4 +-
2 files changed, 120 insertions(+), 49 deletions(-)
--
1.8.5.1
Powered by blists - more mailing lists