Re: [RFC] sched/fair: avoid redundant updates for unchanged default slices

From: Chengfeng Lin

Date: Tue Oct 13 2026 - 14:24:33 EST


Hi Peter,

Thanks for reviewing. Would you like me to send this as a formal patch?

Thanks,
Chengfeng



On Tue, 13 Oct 2026 13:31:44 +0200, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Tue, Oct 13, 2026 at 05:58:17PM +0800, Chengfeng Lin wrote:
>
> > The attached default-slice-peter-v4.patch is the revision tested here,
> > against unmodified v7.2. Does this look like a reasonable way to keep
> > the unchanged-parameter fast path while handling these cases?
>
> Yes, this looks reasonable.