Re: [PATCH 0/4] sched: Various reweight_entity() fixes

From: Peter Zijlstra

Date: Wed Feb 04 2026 - 05:45:01 EST


On Tue, Feb 03, 2026 at 05:49:16PM +0530, K Prateek Nayak wrote:

> > If any of the fields are !0, you tripped an overflow.
>
> Yup I see a few !0 values. Some inching closer to the BUG_ON()
>
> grep "shift.*: [^0]$" /sys/kernel/debug/sched/debug
> .sum_shift : 4
> .sum_shift : 3
> .sum_shift : 5
> .sum_shift : 1
> .sum_shift : 2
> .sum_shift : 3

Whee. Clearly I have some work to do ;-) I'll go prod at this.

Thanks!