Re: [PATCH 2/3] sched/core: Introduce nr_running percpu for each cookie

From: Peter Zijlstra
Date: Mon Jul 04 2022 - 04:56:52 EST


On Tue, Jun 28, 2022 at 03:57:24PM +0800, Cruz Zhao wrote:
> Introduce a percpu count to struct sched_core_cookie, which indicates how
> many tasks with this cookie in the runqueue of this cpu.

*why* ?!?

Changelog should always motivate why a change is done. The patch itself
mostly shows what it does, it doesn't explain why.