Re: [PATCH v2 00/35] PREEMPT_AUTO: support lazy rescheduling

From: Peter Zijlstra
Date: Wed Jun 05 2024 - 13:45:46 EST


On Wed, Jun 05, 2024 at 08:44:50AM -0700, Sean Christopherson wrote:
> On Mon, May 27, 2024, Ankur Arora wrote:
> > Patches 1,2
> > "sched/core: Move preempt_model_*() helpers from sched.h to preempt.h"
> > "sched/core: Drop spinlocks on contention iff kernel is preemptible"
> > condition spin_needbreak() on the dynamic preempt_model_*().
>
> ...
>
> > Not really required but a useful bugfix for PREEMPT_DYNAMIC and PREEMPT_AUTO.
> > Sean Christopherson (2):
> > sched/core: Move preempt_model_*() helpers from sched.h to preempt.h
> > sched/core: Drop spinlocks on contention iff kernel is preemptible
>
> Peter and/or Thomas, would it be possible to get these applied to tip-tree sooner
> than later? They fix a real bug that affects KVM to varying degrees.

It so happens I've queued them for sched/core earlier today (see
queue/sched/core). If the robot comes back happy, I'll push them into
tip.

Thanks!