Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'sched-urgent-2020-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull scheduler fix from Thomas Gleixner:
"A single fix for the scheduler:

- Make is_idle_task() __always_inline to prevent the compiler from
putting it out of line into the wrong section because it's used
inside noinstr sections"

* tag 'sched-urgent-2020-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
sched: Use __always_inline on is_idle_task()

+1 -1
+1 -1
include/linux/sched.h
··· 1666 1666 * 1667 1667 * Return: 1 if @p is an idle task. 0 otherwise. 1668 1668 */ 1669 - static inline bool is_idle_task(const struct task_struct *p) 1669 + static __always_inline bool is_idle_task(const struct task_struct *p) 1670 1670 { 1671 1671 return !!(p->flags & PF_IDLE); 1672 1672 }