sched/numa: Remove the redundant member numa_group::fault_cpus
authorBharata B Rao <bharata@amd.com>
Mon, 4 Oct 2021 10:57:04 +0000 (16:27 +0530)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 14 Oct 2021 11:09:58 +0000 (13:09 +0200)
commit5b763a14a5164e4c442e99d186fb39dac489e49b
treea1f10ea9f81cd1300d92b3d72f36c735f4b0daf9
parent7a2341fc1fec0b8b3580be4226ea244756d3a1b3
sched/numa: Remove the redundant member numa_group::fault_cpus

numa_group::fault_cpus is actually a pointer to the region
in numa_group::faults[] where NUMA_CPU stats are located.

Remove this redundant member and use numa_group::faults[NUMA_CPU]
directly like it is done for similar per-process numa fault stats.

There is no functionality change due to this commit.

Signed-off-by: Bharata B Rao <bharata@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Mel Gorman <mgorman@suse.de>
Link: https://lkml.kernel.org/r/20211004105706.3669-3-bharata@amd.com
kernel/sched/fair.c