.. | .. |
---|
1024 | 1024 | struct cpuidle_state *idle_state; |
---|
1025 | 1025 | int idle_state_idx; |
---|
1026 | 1026 | #endif |
---|
| 1027 | + |
---|
| 1028 | +#if defined(CONFIG_PREEMPT_RT_BASE) && defined(CONFIG_SMP) |
---|
| 1029 | + int nr_pinned; |
---|
| 1030 | +#endif |
---|
1027 | 1031 | }; |
---|
1028 | 1032 | |
---|
1029 | 1033 | #ifdef CONFIG_FAIR_GROUP_SCHED |
---|
.. | .. |
---|
1670 | 1674 | #define WF_SYNC 0x01 /* Waker goes to sleep after wakeup */ |
---|
1671 | 1675 | #define WF_FORK 0x02 /* Child wakeup after fork */ |
---|
1672 | 1676 | #define WF_MIGRATED 0x4 /* Internal use, task got migrated */ |
---|
| 1677 | +#define WF_LOCK_SLEEPER 0x08 /* wakeup spinlock "sleeper" */ |
---|
1673 | 1678 | |
---|
1674 | 1679 | /* |
---|
1675 | 1680 | * To aid in avoiding the subversion of "niceness" due to uneven distribution |
---|
.. | .. |
---|
1889 | 1894 | extern void resched_curr(struct rq *rq); |
---|
1890 | 1895 | extern void resched_cpu(int cpu); |
---|
1891 | 1896 | |
---|
| 1897 | +#ifdef CONFIG_PREEMPT_LAZY |
---|
| 1898 | +extern void resched_curr_lazy(struct rq *rq); |
---|
| 1899 | +#else |
---|
| 1900 | +static inline void resched_curr_lazy(struct rq *rq) |
---|
| 1901 | +{ |
---|
| 1902 | + resched_curr(rq); |
---|
| 1903 | +} |
---|
| 1904 | +#endif |
---|
| 1905 | + |
---|
1892 | 1906 | extern struct rt_bandwidth def_rt_bandwidth; |
---|
1893 | 1907 | extern void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime); |
---|
1894 | 1908 | |
---|