Re: [PATCH 4/4] sched: make multiple runqueue task counters 32-bit

From: Ingo Molnar
Date: Wed May 12 2021 - 16:34:50 EST



* Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:

> Make
>
> struct dl_rq::dl_nr_migratory
> struct dl_rq::dl_nr_running
>
> struct rt_rq::rt_nr_boosted
> struct rt_rq::rt_nr_migratory
> struct rt_rq::rt_nr_total
>
> struct rq::nr_uninterruptible
>
> 32-bit.
>
> If total number of tasks can't exceed 2**32 (and less due to futex pid
> limits), then per-runqueue counters can't as well.

Applied to tip:sched/core, thanks!

There was a bit of a conflict with recent changes in
drivers/cpuidle/governors/menu.c, but I fixed it up, hopefully correctly.

> This patchset has been sponsored by REX Prefix Eradication Society.

A patchset with such an impeccable recommendation letter is impossible to
resist.

Thanks,

Ingo