]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sched/numa: Trace decisions related to skipping VMAs
authorMel Gorman <mgorman@techsingularity.net>
Tue, 10 Oct 2023 08:31:40 +0000 (09:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:21 +0000 (16:29 +0200)
commit6654e54ae7e7cb2ceb3da85e72ebb7487996a9d9
treeedf5f96cc4d9c19a6ad9d4734921f340c5787da4
parent707e9a6c880f82d17a684278b8842b08f885c203
sched/numa: Trace decisions related to skipping VMAs

[ Upstream commit ed2da8b725b932b1e2b2f4835bb664d47ed03031 ]

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
Stable-dep-of: f22cde4371f3 ("sched/numa: Fix the vma scan starving issue")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/sched/numa_balancing.h
include/trace/events/sched.h
kernel/sched/fair.c