diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-26 11:08:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-26 11:08:43 -0400 |
commit | 8a4a8918ed6e4a361f4df19f199bbc2d0a89a46c (patch) | |
tree | d76974986aaaa8549baf2d6a106fa6cb60d64b88 /include/linux/sched.h | |
parent | 8686a0e200419322654a75155e2e6f80346a1297 (diff) | |
parent | 540f41edc15473ca3b2876de72646546ae101374 (diff) |
Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
* 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (46 commits)
llist: Add back llist_add_batch() and llist_del_first() prototypes
sched: Don't use tasklist_lock for debug prints
sched: Warn on rt throttling
sched: Unify the ->cpus_allowed mask copy
sched: Wrap scheduler p->cpus_allowed access
sched: Request for idle balance during nohz idle load balance
sched: Use resched IPI to kick off the nohz idle balance
sched: Fix idle_cpu()
llist: Remove cpu_relax() usage in cmpxchg loops
sched: Convert to struct llist
llist: Add llist_next()
irq_work: Use llist in the struct irq_work logic
llist: Return whether list is empty before adding in llist_add()
llist: Move cpu_relax() to after the cmpxchg()
llist: Remove the platform-dependent NMI checks
llist: Make some llist functions inline
sched, tracing: Show PREEMPT_ACTIVE state in trace_sched_switch
sched: Remove redundant test in check_preempt_tick()
sched: Add documentation for bandwidth control
sched: Return unused runtime on group dequeue
...
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index ede8a6585e38..e8acce717d2a 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -90,6 +90,7 @@ struct sched_param { | |||
90 | #include <linux/task_io_accounting.h> | 90 | #include <linux/task_io_accounting.h> |
91 | #include <linux/latencytop.h> | 91 | #include <linux/latencytop.h> |
92 | #include <linux/cred.h> | 92 | #include <linux/cred.h> |
93 | #include <linux/llist.h> | ||
93 | 94 | ||
94 | #include <asm/processor.h> | 95 | #include <asm/processor.h> |
95 | 96 | ||
@@ -1224,7 +1225,7 @@ struct task_struct { | |||
1224 | unsigned int ptrace; | 1225 | unsigned int ptrace; |
1225 | 1226 | ||
1226 | #ifdef CONFIG_SMP | 1227 | #ifdef CONFIG_SMP |
1227 | struct task_struct *wake_entry; | 1228 | struct llist_node wake_entry; |
1228 | int on_cpu; | 1229 | int on_cpu; |
1229 | #endif | 1230 | #endif |
1230 | int on_rq; | 1231 | int on_rq; |
@@ -2035,6 +2036,10 @@ static inline void sched_autogroup_fork(struct signal_struct *sig) { } | |||
2035 | static inline void sched_autogroup_exit(struct signal_struct *sig) { } | 2036 | static inline void sched_autogroup_exit(struct signal_struct *sig) { } |
2036 | #endif | 2037 | #endif |
2037 | 2038 | ||
2039 | #ifdef CONFIG_CFS_BANDWIDTH | ||
2040 | extern unsigned int sysctl_sched_cfs_bandwidth_slice; | ||
2041 | #endif | ||
2042 | |||
2038 | #ifdef CONFIG_RT_MUTEXES | 2043 | #ifdef CONFIG_RT_MUTEXES |
2039 | extern int rt_mutex_getprio(struct task_struct *p); | 2044 | extern int rt_mutex_getprio(struct task_struct *p); |
2040 | extern void rt_mutex_setprio(struct task_struct *p, int prio); | 2045 | extern void rt_mutex_setprio(struct task_struct *p, int prio); |