sched/rt: Document scheduler related skip-resched-check sites
authorThomas Gleixner <tglx@linutronix.de>
Mon, 21 Mar 2011 12:32:17 +0000 (13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 1 Mar 2012 09:28:04 +0000 (10:28 +0100)
commitba74c1448f127649046615ec017bded7b2a76f29
tree33eceaf0c4b35aca095e3e1a678bdbab23006650
parentbd2f55361f18347e890d52ff9cfd8895455ec11b
sched/rt: Document scheduler related skip-resched-check sites

Create a distinction between scheduler related preempt_enable_no_resched()
calls and the nearly one hundred other places in the kernel that do not
want to reschedule, for one reason or another.

This distinction matters for -rt, where the scheduler and the non-scheduler
preempt models (and checks) are different. For upstream it's purely
documentational.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/n/tip-gs88fvx2mdv5psnzxnv575ke@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/powerpc/kernel/idle.c
arch/sparc/kernel/process_64.c
include/linux/preempt.h
kernel/sched/core.c
kernel/softirq.c