|
|
@@ -17,7 +17,7 @@ Signed-off-by: Phil Elwell <[email protected]>
|
|
|
|
|
|
--- a/kernel/cgroup/cgroup.c
|
|
|
+++ b/kernel/cgroup/cgroup.c
|
|
|
-@@ -6059,6 +6059,9 @@ int __init cgroup_init_early(void)
|
|
|
+@@ -6082,6 +6082,9 @@ int __init cgroup_init_early(void)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
@@ -27,7 +27,7 @@ Signed-off-by: Phil Elwell <[email protected]>
|
|
|
/**
|
|
|
* cgroup_init - cgroup initialization
|
|
|
*
|
|
|
-@@ -6092,6 +6095,12 @@ int __init cgroup_init(void)
|
|
|
+@@ -6115,6 +6118,12 @@ int __init cgroup_init(void)
|
|
|
|
|
|
cgroup_unlock();
|
|
|
|
|
|
@@ -40,7 +40,7 @@ Signed-off-by: Phil Elwell <[email protected]>
|
|
|
for_each_subsys(ss, ssid) {
|
|
|
if (ss->early_init) {
|
|
|
struct cgroup_subsys_state *css =
|
|
|
-@@ -6740,6 +6749,10 @@ static int __init cgroup_disable(char *s
|
|
|
+@@ -6769,6 +6778,10 @@ static int __init cgroup_disable(char *s
|
|
|
strcmp(token, ss->legacy_name))
|
|
|
continue;
|
|
|
|
|
|
@@ -51,7 +51,7 @@ Signed-off-by: Phil Elwell <[email protected]>
|
|
|
static_branch_disable(cgroup_subsys_enabled_key[i]);
|
|
|
pr_info("Disabling %s control group subsystem\n",
|
|
|
ss->name);
|
|
|
-@@ -6758,6 +6771,31 @@ static int __init cgroup_disable(char *s
|
|
|
+@@ -6787,6 +6800,31 @@ static int __init cgroup_disable(char *s
|
|
|
}
|
|
|
__setup("cgroup_disable=", cgroup_disable);
|
|
|
|