Re: [PATCH] sched: Fix rq nr_uninterruptible count

From: Mike Galbraith
Date: Tue Feb 28 2023 - 04:29:05 EST


On Tue, 2023-02-28 at 15:08 +0800, zhenggy wrote:
> When an uninterrptable task is queue to a differect cpu as where
> it is dequeued, the rq nr_uninterruptible will be incorrent, so
> fix it.

That's intentional, see 47-52 of kernel/sched/loadavg.c.

-Mike