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

Peter Zijlstra
2024-06-05T17:45:31Z

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!