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>
This commit is contained in:
Thomas Gleixner
2011-03-21 13:32:17 +01:00
gecommit door Ingo Molnar
bovenliggende bd2f55361f
commit ba74c1448f
5 gewijzigde bestanden met toevoegingen van 11 en 8 verwijderingen

Bestand weergeven

@@ -102,7 +102,7 @@ void cpu_idle(void)
rcu_idle_exit();
tick_nohz_idle_exit();
if (cpu_should_die()) {
preempt_enable_no_resched();
sched_preempt_enable_no_resched();
cpu_die();
}
schedule_preempt_disabled();