Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/sched_ule.c
Context not available. | |||||
cpri = ctd->td_priority; | cpri = ctd->td_priority; | ||||
if (pri < cpri) | if (pri < cpri) | ||||
ctd->td_flags |= TDF_NEEDRESCHED; | ctd->td_flags |= TDF_NEEDRESCHED; | ||||
if (panicstr != NULL || pri >= cpri || cold || TD_IS_INHIBITED(ctd)) | if (KERNEL_PANICKED() || pri >= cpri || cold || TD_IS_INHIBITED(ctd)) | ||||
return; | return; | ||||
if (!sched_shouldpreempt(pri, cpri, 0)) | if (!sched_shouldpreempt(pri, cpri, 0)) | ||||
return; | return; | ||||
Context not available. |