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

Ingo Molnar
2023-09-19T07:21:44Z

* Thomas Gleixner <tglx@linutronix.de> 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