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

2014-01-17 Thread Rik van Riel
On 01/17/2014 04:12 PM, 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 balancing code looks at

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

2014-01-17 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

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

2014-01-17 Thread riel
From: Rik van Riel r...@redhat.com 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

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

2014-01-17 Thread Rik van Riel
On 01/17/2014 04:12 PM, r...@redhat.com wrote: From: Rik van Riel r...@redhat.com 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