> Yes, I understood this is what he was doing, but I wonder about the> impact on the scheduler. If we have:>> * Jiffy 1 -- timer interrupt>> * preempt disable> * Jiffy 2 -- timer interrupt> -> here, the scheduler is disabled, so the timer interrupt is skipped.> The scheduler depends on preempt_check_resched() at preempt_enable()> to execute in a bounded amount of time.

preempt disable does not disable interrupts. The timer interrupt willoccur. The scheduler may not reschedule another job on this processorwhen the timer interrupt calls the scheduler_tick. Itmay not do load balancing.