diff options
author | Srikar Dronamraju <[email protected]> | 2015-06-25 22:51:42 +0530 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-07-04 10:04:32 +0200 |
commit | e3d24d0a6048a826de5562d75dedb664d3a2a1b2 (patch) | |
tree | 7225cb3d82cdb91b63f0b4b52eef942806379ae7 | |
parent | 6b55c9654fccf69ae7ace23ca101dc37b903181b (diff) |
sched/numa: Show numa_group ID in /proc/sched_debug task listings
Having the numa group ID in /proc/sched_debug helps to see how
the numa groups have spread across the system.
Signed-off-by: Srikar Dronamraju <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Cc: Iulia Manda <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r-- | kernel/sched/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c index 315c68e015d9..f1dcd1d390c1 100644 --- a/kernel/sched/debug.c +++ b/kernel/sched/debug.c @@ -142,7 +142,7 @@ print_task(struct seq_file *m, struct rq *rq, struct task_struct *p) 0LL, 0L); #endif #ifdef CONFIG_NUMA_BALANCING - SEQ_printf(m, " %d", task_node(p)); + SEQ_printf(m, " %d %d", task_node(p), task_numa_group_id(p)); #endif #ifdef CONFIG_CGROUP_SCHED SEQ_printf(m, " %s", task_group_path(task_group(p))); |