Commit 45e1ba4
cgroup: disable controllers at parse time
This patch effectively reverts the commit a3e7273 ("cgroup: fix
too early usage of static_branch_disable()"). The commit 6041186
("init: initialize jump labels before command line option parsing") has
moved the jump_label_init() before parse_args() which has made the
commit a3e7273 unnecessary. On the other hand there are
consequences of disabling the controllers later as there are subsystems
doing the controller checks for different decisions. One such incident
is reported [1] regarding the memory controller and its impact on memory
reclaim code.
[1] https://lore.kernel.org/linux-mm/921e53f3-4b13-aab8-4a9e-e83ff15371e4@nec.com
Signed-off-by: Shakeel Butt <shakeelb@google.com>
Reported-by: NOMURA JUNICHI(野村 淳一) <junichi.nomura@nec.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Tested-by: Jun'ichi Nomura <junichi.nomura@nec.com>1 parent c3d0e3f commit 45e1ba4
1 file changed
Lines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5634 | 5634 | | |
5635 | 5635 | | |
5636 | 5636 | | |
5637 | | - | |
5638 | | - | |
5639 | 5637 | | |
5640 | 5638 | | |
5641 | 5639 | | |
| |||
5694 | 5692 | | |
5695 | 5693 | | |
5696 | 5694 | | |
5697 | | - | |
5698 | | - | |
5699 | | - | |
5700 | | - | |
| 5695 | + | |
5701 | 5696 | | |
5702 | | - | |
5703 | 5697 | | |
5704 | 5698 | | |
5705 | 5699 | | |
| |||
6214 | 6208 | | |
6215 | 6209 | | |
6216 | 6210 | | |
6217 | | - | |
| 6211 | + | |
| 6212 | + | |
| 6213 | + | |
| 6214 | + | |
6218 | 6215 | | |
6219 | 6216 | | |
6220 | 6217 | | |
| |||
0 commit comments