Re: [RFC PATCH v15 1/7] sched: Add CONFIG_SCHED_PROXY_EXEC & boot argument to enable/disable
From: John Stultz
Date: Mon Mar 17 2025 - 10:46:35 EST
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.
!SCHED_CLASS_EXT might be something to add, but mostly because the
SCHED_CLASS_EXT code probably doesn't have a way to understand the
split contexts yet.
I'll dig a bit more there.
Thanks so much for the feedback! Really appreciate it!
-john