]> git.baikalelectronics.ru Git - kernel.git/commit
sched/numa: Increment numa_migrate_seq when task runs in correct location
authorRik van Riel <riel@redhat.com>
Mon, 7 Oct 2013 10:29:12 +0000 (11:29 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 Oct 2013 10:40:41 +0000 (12:40 +0200)
commit3167c4a0e3d51ae2dd145efad77e1531809122df
tree225dd9d1d180dcca19cce9ce8c3762b9c1cee7dc
parent1e18e5014eaabf544e7ec2a6a506b67be7854e67
sched/numa: Increment numa_migrate_seq when task runs in correct location

When a task is already running on its preferred node, increment
numa_migrate_seq to indicate that the task is settled if migration is
temporarily disabled, and memory should migrate towards it.

Signed-off-by: Rik van Riel <riel@redhat.com>
[ Only increment migrate_seq if migration temporarily disabled. ]
Signed-off-by: Mel Gorman <mgorman@suse.de>
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-35-git-send-email-mgorman@suse.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c