linux/kernel/sched
Thomas Gleixner b6b6ba5754 sched: Reenable interrupts in do_sched_yield()
[ Upstream commit 345a957fcc ]

do_sched_yield() invokes schedule() with interrupts disabled which is
not allowed. This goes back to the pre git era to commit a6efb709806c
("[PATCH] irqlock patch 2.5.27-H6") in the history tree.

Reenable interrupts and remove the misleading comment which "explains" it.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/87r1pt7y5c.fsf@nanos.tec.linutronix.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:25:50 +01:00
..
autogroup.c
autogroup.h
clock.c
completion.c
core.c sched: Reenable interrupts in do_sched_yield() 2020-12-30 11:25:50 +01:00
cpuacct.c
cpudeadline.c
cpudeadline.h
cpufreq_schedutil.c
cpufreq.c
cpupri.c
cpupri.h
cputime.c
deadline.c sched/deadline: Fix sched_dl_global_validate() 2020-12-30 11:25:50 +01:00
debug.c
fair.c sched/fair: Fix NOHZ next idle balance 2020-08-19 08:14:47 +02:00
features.h
idle.c
isolation.c
loadavg.c
Makefile
membarrier.c
pelt.c
pelt.h
rt.c
sched-pelt.h
sched.h sched/deadline: Fix sched_dl_global_validate() 2020-12-30 11:25:50 +01:00
stats.c
stats.h
stop_task.c
swait.c
topology.c sched: correct SD_flags returned by tl->sd_flags() 2020-08-19 08:14:47 +02:00
wait_bit.c
wait.c