]> git.baikalelectronics.ru Git - kernel.git/commit
sched/numa: Distinguish between the different task_numa_migrate() failure cases
authorMel Gorman <mgorman@techsingularity.net>
Mon, 24 Feb 2020 09:52:13 +0000 (09:52 +0000)
committerIngo Molnar <mingo@kernel.org>
Mon, 24 Feb 2020 10:36:33 +0000 (11:36 +0100)
commitb2b2042b204796190af7c20069ab790a614c36d0
treed359d33d8a3b10b5b9c58c7984c89e21ac079097
parentf22aef4afb0d6cc22e408d8254cf6d02d7982ef1
sched/numa: Distinguish between the different task_numa_migrate() failure cases

sched:sched_stick_numa is meant to fire when a task is unable to migrate
to the preferred node but from the trace, it's possibile to tell the
difference between "no CPU found", "migration to idle CPU failed" and
"tasks could not be swapped". Extend the tracepoint accordingly.

Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
[ Minor edits. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: Valentin Schneider <valentin.schneider@arm.com>
Cc: Phil Auld <pauld@redhat.com>
Cc: Hillf Danton <hdanton@sina.com>
Link: https://lore.kernel.org/r/20200224095223.13361-4-mgorman@techsingularity.net
include/trace/events/sched.h
kernel/sched/fair.c