X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fbcm27xx%2Fpatches-5.10%2F950-0639-cgroup-Disable-cgroup-memory-by-default.patch;h=2fa648a2330e30d531cafea8a1274e609d1d9946;hb=e9c1c83679891a02e3b95b954847a95621cbbc79;hp=aa3aeeaa42724bec01927af1ab55aa6a7daf7cd5;hpb=337e942290fa6a18e0289ae32420c5c402aead1a;p=openwrt%2Fopenwrt.git diff --git a/target/linux/bcm27xx/patches-5.10/950-0639-cgroup-Disable-cgroup-memory-by-default.patch b/target/linux/bcm27xx/patches-5.10/950-0639-cgroup-Disable-cgroup-memory-by-default.patch index aa3aeeaa42..2fa648a233 100644 --- a/target/linux/bcm27xx/patches-5.10/950-0639-cgroup-Disable-cgroup-memory-by-default.patch +++ b/target/linux/bcm27xx/patches-5.10/950-0639-cgroup-Disable-cgroup-memory-by-default.patch @@ -17,7 +17,7 @@ Signed-off-by: Phil Elwell --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c -@@ -5690,6 +5690,9 @@ int __init cgroup_init_early(void) +@@ -5695,6 +5695,9 @@ int __init cgroup_init_early(void) return 0; } @@ -27,7 +27,7 @@ Signed-off-by: Phil Elwell /** * cgroup_init - cgroup initialization * -@@ -5728,6 +5731,12 @@ int __init cgroup_init(void) +@@ -5733,6 +5736,12 @@ int __init cgroup_init(void) mutex_unlock(&cgroup_mutex); @@ -40,7 +40,7 @@ Signed-off-by: Phil Elwell for_each_subsys(ss, ssid) { if (ss->early_init) { struct cgroup_subsys_state *css = -@@ -6265,6 +6274,10 @@ static int __init cgroup_disable(char *s +@@ -6270,6 +6279,10 @@ static int __init cgroup_disable(char *s strcmp(token, ss->legacy_name)) continue; @@ -51,7 +51,7 @@ Signed-off-by: Phil Elwell static_branch_disable(cgroup_subsys_enabled_key[i]); pr_info("Disabling %s control group subsystem\n", ss->name); -@@ -6274,6 +6287,31 @@ static int __init cgroup_disable(char *s +@@ -6279,6 +6292,31 @@ static int __init cgroup_disable(char *s } __setup("cgroup_disable=", cgroup_disable);