projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-android
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
sched
/
auto_group.h
diff --git
a/kernel/sched/auto_group.h
b/kernel/sched/auto_group.h
index 443232ebbb53b24ea369ca3c4fbb7b53c5e8cbef..8bd047142816dea81894bb27ccc3c78a38ac3d61 100644
(file)
--- a/
kernel/sched/auto_group.h
+++ b/
kernel/sched/auto_group.h
@@
-4,6
+4,11
@@
#include <linux/rwsem.h>
struct autogroup {
#include <linux/rwsem.h>
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;
struct kref kref;
struct task_group *tg;
struct rw_semaphore lock;