Re: [PATCH v2 4/6] sched/numa: use wrapper function task_node to get node which task is on

2013-12-07 Thread Rik van Riel
On 12/06/2013 04:12 AM, Wanpeng Li wrote: > Use wrapper function task_node to get node which task is on. > > Signed-off-by: Wanpeng Li Reviewed-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord

Re: [PATCH v2 4/6] sched/numa: use wrapper function task_node to get node which task is on

2013-12-06 Thread Naoya Horiguchi
On Fri, Dec 06, 2013 at 05:12:14PM +0800, Wanpeng Li wrote: > Use wrapper function task_node to get node which task is on. > > Signed-off-by: Wanpeng Li Maybe we have another line to apply the same fix: ./kernel/sched/debug.c:142: SEQ_printf(m, " %d", cpu_to_node(task_cpu(p))); But anyway,

Re: [PATCH v2 4/6] sched/numa: use wrapper function task_node to get node which task is on

2013-12-06 Thread Mel Gorman
On Fri, Dec 06, 2013 at 05:12:14PM +0800, Wanpeng Li wrote: > Use wrapper function task_node to get node which task is on. > > Signed-off-by: Wanpeng Li Acked-by: Mel Gorman -- Mel Gorman SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mes

[PATCH v2 4/6] sched/numa: use wrapper function task_node to get node which task is on

2013-12-06 Thread Wanpeng Li
Use wrapper function task_node to get node which task is on. Signed-off-by: Wanpeng Li --- kernel/sched/fair.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 56bcc0c..e0b1063 100644 --- a/kernel/sched/fair.c +++ b/kerne