]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/cgroup/cgroup-internal.h
cgroup: don't call migration methods if there are no tasks to migrate
[karo-tx-linux.git] / kernel / cgroup / cgroup-internal.h
index 793565c057426656312ab7b31471f6c523b7ae59..8b4c3c2f2509d2b49666410b011bf604926194f3 100644 (file)
@@ -33,6 +33,9 @@ struct cgroup_taskset {
        struct list_head        src_csets;
        struct list_head        dst_csets;
 
+       /* the number of tasks in the set */
+       int                     nr_tasks;
+
        /* the subsys currently being processed */
        int                     ssid;