mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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> |
History
|
|
|---|---|---|
| .. | ||
| 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 | ||