summaryrefslogtreecommitdiffstats
path: root/kernel/sched_autogroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched_autogroup.h')
-rw-r--r--kernel/sched_autogroup.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/sched_autogroup.h b/kernel/sched_autogroup.h
index 7b859ffe5dad..05577055cfca 100644
--- a/kernel/sched_autogroup.h
+++ b/kernel/sched_autogroup.h
@@ -1,6 +1,11 @@
#ifdef CONFIG_SCHED_AUTOGROUP
struct autogroup {
+ /*
+ * reference doesn't mean how many thread attach to this
+ * autogroup now. It just stands for the number of task
+ * could use this autogroup.
+ */
struct kref kref;
struct task_group *tg;
struct rw_semaphore lock;