Re: [PATCH v2 7/9] sched: define TIF_ALLOW_RESCHED

From: Ingo Molnar
Date: Tue Sep 19 2023 - 03:21:44 EST



* Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:

> Additionally we have PREEMPT=FULL which utilizes every zero transition
> of preeempt_count as a potential preemption point.

Just to complete this nice new entry to Documentation/sched/: in
PREEMPT=FULL there's also IRQ-return driven preemption of kernel-mode code,
at almost any instruction boundary the hardware allows, in addition to the
preemption driven by regular zero transition of preempt_count in
syscall/kthread code.

Thanks,

Ingo