]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blobdiff - mm/memcontrol.c
cgroups: let ss->can_attach and ss->attach do whole threadgroups at a time
[mirror_ubuntu-kernels.git] / mm / memcontrol.c
index 9b10d8753784c5e9fbbe33239a277a514fe99c67..cf2e717f5c1294b43b6d016e60f08f7ad2ff46bd 100644 (file)
@@ -2612,7 +2612,8 @@ static int mem_cgroup_populate(struct cgroup_subsys *ss,
 static void mem_cgroup_move_task(struct cgroup_subsys *ss,
                                struct cgroup *cont,
                                struct cgroup *old_cont,
-                               struct task_struct *p)
+                               struct task_struct *p,
+                               bool threadgroup)
 {
        mutex_lock(&memcg_tasklist);
        /*