sched/numa: Report a NUMA task group ID
authorMel Gorman <mgorman@suse.de>
Mon, 7 Oct 2013 10:29:22 +0000 (11:29 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 Oct 2013 12:47:49 +0000 (14:47 +0200)
commite29cf08b05dc0b8151d65704d96d525a9e179a6b
tree07eb90e16973acca57ed9bc3866f2bff8ab0750a
parent8c8a743c5087bac9caac8155b8f3b367e75cdd0b
sched/numa: Report a NUMA task group ID

It is desirable to model from userspace how the scheduler groups tasks
over time. This patch adds an ID to the numa_group and reports it via
/proc/PID/status.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1381141781-10992-45-git-send-email-mgorman@suse.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
fs/proc/array.c
include/linux/sched.h
kernel/sched/fair.c