Re: [RFC PATCH v15 1/7] sched: Add CONFIG_SCHED_PROXY_EXEC & boot argument to enable/disable

From: Peter Zijlstra
Date: Mon Mar 17 2025 - 10:50:45 EST


On Mon, Mar 17, 2025 at 03:44:11PM +0100, John Stultz wrote:
> On Mon, Mar 17, 2025 at 3:33 PM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> > On Wed, Mar 12, 2025 at 03:11:31PM -0700, John Stultz wrote:
> >
> > > diff --git a/init/Kconfig b/init/Kconfig
> > > index d0d021b3fa3b3..b989ddc27444e 100644
> > > --- a/init/Kconfig
> > > +++ b/init/Kconfig
> > > @@ -875,6 +875,16 @@ config UCLAMP_BUCKETS_COUNT
> > >
> > > If in doubt, use the default value.
> > >
> > > +config SCHED_PROXY_EXEC
> > > + bool "Proxy Execution"
> > > + default n
> > > + # Avoid some build failures w/ PREEMPT_RT until it can be fixed
> > > + depends on !PREEMPT_RT
> > depends on !SPM && !SCHED_CLASS_EXT
> >
> > for now, right?
>
> Did you mean SMP there? SMP is supported. Even with same rq proxying,
> it just blocks the task and lets it sleep if the owner is on another
> rq.

Ah, yes, typing hard. And yes, I missed it would work rq local. Still
trying to untangle the proxy_deactivate() failure case :-)