Re: [PATCH v1] sched/fair: fix inconsistency in update_task_scan_period

From: Peter Zijlstra
Date: Tue Apr 25 2023 - 06:25:42 EST


On Tue, Apr 25, 2023 at 06:02:04AM -0400, zhaomzhao@xxxxxxx wrote:
> From: Zhao Mengmeng <zhaomengmeng@xxxxxxxxxx>
>
> During calculate numa_scan_period diff, the actual code
> and the comment are inconsistent. The comment says it is
> using shared faults ratio, but code uses private faults
> ratio. This patch fixes it.

So for some reason you think the comment is correct ? You also don't
discuss the performance changes caused by changing the code.