Re: [PATCH 51/63] sched: numa: Prevent parallel updates to group stats during placement

2013-10-07 Thread Rik van Riel
On 10/07/2013 06:29 AM, Mel Gorman wrote: > Having multiple tasks in a group go through task_numa_placement > simultaneously can lead to a task picking a wrong node to run on, because > the group stats may be in the middle of an update. This patch avoids > parallel updates by holding the numa_group

[PATCH 51/63] sched: numa: Prevent parallel updates to group stats during placement

2013-10-07 Thread Mel Gorman
Having multiple tasks in a group go through task_numa_placement simultaneously can lead to a task picking a wrong node to run on, because the group stats may be in the middle of an update. This patch avoids parallel updates by holding the numa_group lock during placement decisions. Signed-off-by:

[PATCH 51/63] sched: numa: Prevent parallel updates to group stats during placement

2013-09-27 Thread Mel Gorman
Having multiple tasks in a group go through task_numa_placement simultaneously can lead to a task picking a wrong node to run on, because the group stats may be in the middle of an update. This patch avoids parallel updates by holding the numa_group lock during placement decisions. Signed-off-by: