Re: [PATCH 6/6] numa,sched: do statistics calculation using local variables only

2014-01-21 Thread Mel Gorman
On Mon, Jan 20, 2014 at 02:21:07PM -0500, r...@redhat.com wrote: > From: Rik van Riel > > The current code in task_numa_placement calculates the difference > between the old and the new value, but also temporarily stores half > of the old value in the per-process variables. > > The NUMA balancin

[PATCH 6/6] numa,sched: do statistics calculation using local variables only

2014-01-20 Thread riel
From: Rik van Riel The current code in task_numa_placement calculates the difference between the old and the new value, but also temporarily stores half of the old value in the per-process variables. The NUMA balancing code looks at those per-process variables, and having other tasks temporarily