[PATCH 0/2] cpu subsystem for unified hierarchy.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi TJ,
	When I want to improve cpuacct subsystem, you said we are going
to combine cpuacct and cpu subsystem. Then I am here to try to implement
cpu subsystem in unified hierarchy and squash cpuacct in it.

	In [1/2], I implemented the .dfl_cftypes for cpu subsystem. it
includes the all files of cpu subsystem in cgroup1 and some files from
cpuacct subsystem in cgroup1. I did not pick cpuacct.stat from cpuacct
because I am not sure is that necessary.

	In [2/2], I extended the cpu.usage in cpu subsystem, making it
to be able to show user_usage and sys_usage. That's useful in my usecase.

Please help to review, thanx!

Yang

Dongsheng Yang (2):
  sched: implement cpu subsystem for unified hierarchy
  cgroup: cpu subsystem: split cpu usage into user_usage and sys_usage.

 kernel/sched/core.c      | 276 ++++++++++++++++++++++++++++++++++++++++++++++-
 kernel/sched/deadline.c  |   2 +-
 kernel/sched/fair.c      |   2 +-
 kernel/sched/rt.c        |   2 +-
 kernel/sched/sched.h     |  21 ++++
 kernel/sched/stop_task.c |   2 +-
 6 files changed, 299 insertions(+), 6 deletions(-)

-- 
1.8.4.2



--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux