sched/numa: Trace decisions related to skipping VMAs
authorMel Gorman <mgorman@techsingularity.net>
Tue, 10 Oct 2023 08:31:40 +0000 (09:31 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 10 Oct 2023 09:10:00 +0000 (11:10 +0200)
commited2da8b725b932b1e2b2f4835bb664d47ed03031
tree3a93d7fe1e5fa5dd0843e5bbecf59a8ef8eada00
parentf3a6c97940fbd25d6c84c2d5642338fc99a9b35b
sched/numa: Trace decisions related to skipping VMAs

NUMA balancing skips or scans VMAs for a variety of reasons. In preparation
for completing scans of VMAs regardless of PID access, trace the reasons
why a VMA was skipped. In a later patch, the tracing will be used to track
if a VMA was forcibly scanned.

Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20231010083143.19593-4-mgorman@techsingularity.net
include/linux/sched/numa_balancing.h
include/trace/events/sched.h
kernel/sched/fair.c