]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit99207d131c6efacb991365089f9a01af9c816440
treea1f10ea9f81cd1300d92b3d72f36c735f4b0daf9
parenta39554106bad7f1f7e00b39d17b5a1e614f90efc
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