mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 03:47:43 +00:00
02f726949f
For CONFIG_PREEMPT=y kernels the sched_switch(.prev_state) argument isn't useful because we can get preempted with current->state != TASK_RUNNING without actually getting removed from the runqueue. Cure this by treating all preempted tasks as runnable from the tracer's point of view. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cautiously-acked-by: Steven Rostedt <rostedt@goodmis.org> LKML-Reference: <1275322715.27810.23323.camel@twins> Signed-off-by: Ingo Molnar <mingo@elte.hu> |
||
---|---|---|
.. | ||
bkl.h | ||
block.h | ||
ext4.h | ||
irq.h | ||
jbd2.h | ||
kmem.h | ||
kvm.h | ||
lock.h | ||
mce.h | ||
module.h | ||
napi.h | ||
power.h | ||
sched.h | ||
scsi.h | ||
signal.h | ||
skb.h | ||
syscalls.h | ||
timer.h | ||
workqueue.h |