sched/numa: Replace hard-coded number by a define in numa_task_group()
authorBharata B Rao <bharata@amd.com>
Mon, 4 Oct 2021 10:57:03 +0000 (16:27 +0530)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 14 Oct 2021 11:09:58 +0000 (13:09 +0200)
commit7a2341fc1fec0b8b3580be4226ea244756d3a1b3
treeb3f06e41f9fdd304a66b96dead63a1319359ca86
parent5de62ea84abd732ded7c5569426fd71c0420f83e
sched/numa: Replace hard-coded number by a define in numa_task_group()

While allocating group fault stats, task_numa_group()
is using a hard coded number 4. Replace this by
NR_NUMA_HINT_FAULT_STATS.

No functionality change in 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-2-bharata@amd.com
kernel/sched/fair.c