android_kernel_motorola_sm6375/kernel/cgroup
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Shakeel Butt 92215c1f24 cgroup: disable controllers at parse time
[ Upstream commit 45e1ba40837ac2f6f4d4716bddb8d44bd7e4a251 ]

This patch effectively reverts the commit a3e72739b7 ("cgroup: fix
too early usage of static_branch_disable()"). The commit 6041186a32
("init: initialize jump labels before command line option parsing") has
moved the jump_label_init() before parse_args() which has made the
commit a3e72739b7 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/[email protected]

Signed-off-by: Shakeel Butt <[email protected]>
Reported-by: NOMURA JUNICHI(野村 淳一) <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Tested-by: Jun'ichi Nomura <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-06-16 11:59:35 +02:00
..
cgroup-internal.h
cgroup-v1.c cgroup: Fix memory leak when parsing multiple source parameters 2021-01-06 14:48:37 +01:00
cgroup.c cgroup: disable controllers at parse time 2021-06-16 11:59:35 +02:00
cpuset.c cpuset: fix race between hotplug work and later CPU offline 2020-12-30 11:51:36 +01:00
debug.c
freezer.c cgroup: freezer: don't change task and cgroups status unnecessarily 2019-12-31 16:45:06 +01:00
legacy_freezer.c
Makefile
namespace.c
pids.c cgroup: pids: use atomic64_t for pids->limit 2019-12-17 19:56:15 +01:00
rdma.c
rstat.c Revert "cgroup: Add memory barriers to plug cgroup_rstat_updated() race window" 2020-06-07 13:18:46 +02:00