diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index c115d617739d..4effb1025fbb 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -771,18 +771,6 @@ struct signal_struct { | |||
771 | unsigned audit_tty_log_passwd; | 771 | unsigned audit_tty_log_passwd; |
772 | struct tty_audit_buf *tty_audit_buf; | 772 | struct tty_audit_buf *tty_audit_buf; |
773 | #endif | 773 | #endif |
774 | #ifdef CONFIG_CGROUPS | ||
775 | /* | ||
776 | * group_rwsem prevents new tasks from entering the threadgroup and | ||
777 | * member tasks from exiting,a more specifically, setting of | ||
778 | * PF_EXITING. fork and exit paths are protected with this rwsem | ||
779 | * using threadgroup_change_begin/end(). Users which require | ||
780 | * threadgroup to remain stable should use threadgroup_[un]lock() | ||
781 | * which also takes care of exec path. Currently, cgroup is the | ||
782 | * only user. | ||
783 | */ | ||
784 | struct rw_semaphore group_rwsem; | ||
785 | #endif | ||
786 | 774 | ||
787 | oom_flags_t oom_flags; | 775 | oom_flags_t oom_flags; |
788 | short oom_score_adj; /* OOM kill score adjustment */ | 776 | short oom_score_adj; /* OOM kill score adjustment */ |