All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] cpuacct, cgroup: Kill cgroup_subsys.active
@ 2013-03-29  6:43 ` Li Zefan
  0 siblings, 0 replies; 18+ messages in thread
From: Li Zefan @ 2013-03-29  6:43 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: Tejun Heo, Peter Zijlstra, LKML, Cgroups

v2:
- rebase against tip-tree
- add acked-by

I said this patchset needn't to be rebased, which is wrong. The last patch
needs rebasing.

===================================

cpuacct is the only user of cgroup_subsys.active flag.

The flag is needed because cpuacct_charge() and cpuacct_account_field() can
be called when cpuacct hasn't been initialized during system bootup.

This patch initializes cpuacct earlier, and the result is we don't have
to check the flag in scheduler hot path.

Note, this patchset is based on "[PATCH v2 0/7] sched: Split cpuacct"

	http://lkml.org/lkml/2013/3/28/1

0001-cpuacct-allocate-per_cpu-cpuusage-for-root-cpuacct-s.patch
0002-cpuacct-Initialize-root-cpuacct-earlier.patch
0003-cpuacct-Initialize-cpuacct-subsystem-earlier.patch
0004-cpuacct-No-need-to-check-subsys-active-state.patch
0005-cgroup-Remove-subsys.active-flag.patch

--
 include/linux/cgroup.h |  1 -
 kernel/cgroup.c        |  3 ---
 kernel/sched/core.c    |  2 --
 kernel/sched/cpuacct.c | 30 +++++++++++-------------------
 kernel/sched/cpuacct.h |  5 -----
 5 files changed, 11 insertions(+), 30 deletions(-)

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2013-04-10 13:50 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-29  6:43 [PATCH v2 0/5] cpuacct, cgroup: Kill cgroup_subsys.active Li Zefan
2013-03-29  6:43 ` Li Zefan
2013-03-29  6:43 ` [PATCH v2 1/5] cpuacct: allocate per_cpu cpuusage for root cpuacct statically Li Zefan
2013-04-10 13:44   ` [tip:sched/core] sched/cpuacct: Allocate " tip-bot for Li Zefan
2013-03-29  6:44 ` [PATCH v2 2/5] cpuacct: Initialize root cpuacct earlier Li Zefan
2013-03-29  6:44   ` Li Zefan
2013-04-10 13:46   ` [tip:sched/core] sched/cpuacct: " tip-bot for Li Zefan
2013-03-29  6:44 ` [PATCH v2 3/5] cpuacct: Initialize cpuacct subsystem earlier Li Zefan
2013-03-29  6:44   ` Li Zefan
2013-04-10 13:47   ` [tip:sched/core] sched/cpuacct: " tip-bot for Li Zefan
2013-03-29  6:44 ` [PATCH v2 4/5] cpuacct: No need to check subsys active state Li Zefan
2013-04-10 13:48   ` [tip:sched/core] sched/cpuacct: " tip-bot for Li Zefan
2013-03-29  6:44 ` [PATCH v2 5/5] cgroup: Kill subsys.active flag Li Zefan
2013-04-10 13:49   ` [tip:sched/core] " tip-bot for Li Zefan
2013-03-29 10:36 ` [PATCH v2 0/5] cpuacct, cgroup: Kill cgroup_subsys.active Peter Zijlstra
2013-03-29 10:36   ` Peter Zijlstra
2013-04-09  1:29   ` Li Zefan
2013-04-09  1:29     ` Li Zefan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.