Re: [PATCH v2 13/35] sched: allow runtime config for PREEMPT_AUTO
From: Ankur Arora
Date: Thu May 30 2024 - 05:30:53 EST
Peter Zijlstra <peterz@xxxxxxxxxxxxx> writes:
> On Mon, May 27, 2024 at 05:34:59PM -0700, Ankur Arora wrote:
>> Reuse sched_dynamic_update() and related logic to enable choosing
>> the preemption model at boot or runtime for PREEMPT_AUTO.
>>
>> The interface is identical to PREEMPT_DYNAMIC.
>
> Colour me confused, why?!? What are you doing and why aren't just just
> adding AUTO to the existing DYNAMIC thing?
You mean have a single __sched_dynamic_update()? AUTO doesn't use any
of the static_call/static_key stuff so I'm not sure how that would work.
Or am I missing the point of what you are saying?
--
ankur