kernel: bump 5.10 to 5.10.98
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.10 / 950-0639-cgroup-Disable-cgroup-memory-by-default.patch
index aa3aeeaa42724bec01927af1ab55aa6a7daf7cd5..2fa648a2330e30d531cafea8a1274e609d1d9946 100644 (file)
@@ -17,7 +17,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
 
 --- 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 <phil@raspberrypi.org>
  /**
   * 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 <phil@raspberrypi.org>
        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 <phil@raspberrypi.org>
                        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);