|
|
@@ -17,7 +17,7 @@ Signed-off-by: Phil Elwell <[email protected]>
|
|
|
|
|
|
--- a/kernel/cgroup/cgroup.c
|
|
|
+++ b/kernel/cgroup/cgroup.c
|
|
|
-@@ -6051,6 +6051,9 @@ int __init cgroup_init_early(void)
|
|
|
+@@ -6060,6 +6060,9 @@ int __init cgroup_init_early(void)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
@@ -27,7 +27,7 @@ Signed-off-by: Phil Elwell <[email protected]>
|
|
|
/**
|
|
|
* cgroup_init - cgroup initialization
|
|
|
*
|
|
|
-@@ -6084,6 +6087,12 @@ int __init cgroup_init(void)
|
|
|
+@@ -6093,6 +6096,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 =
|
|
|
-@@ -6724,6 +6733,10 @@ static int __init cgroup_disable(char *s
|
|
|
+@@ -6733,6 +6742,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);
|
|
|
-@@ -6742,6 +6755,31 @@ static int __init cgroup_disable(char *s
|
|
|
+@@ -6751,6 +6764,31 @@ static int __init cgroup_disable(char *s
|
|
|
}
|
|
|
__setup("cgroup_disable=", cgroup_disable);
|
|
|
|