Re: [PATCH 2/6] numa,sched: track from which nodes NUMA faults are triggered

2014-01-24 Thread Mel Gorman
On Tue, Jan 21, 2014 at 05:26:39PM -0500, Rik van Riel wrote: > On 01/21/2014 07:21 AM, Mel Gorman wrote: > > On Mon, Jan 20, 2014 at 02:21:03PM -0500, r...@redhat.com wrote: > > >> +++ b/include/linux/sched.h > >> @@ -1492,6 +1492,14 @@ struct task_struct { > >>unsigned long *numa_faults_buff

Re: [PATCH 2/6] numa,sched: track from which nodes NUMA faults are triggered

2014-01-21 Thread Rik van Riel
On 01/21/2014 07:21 AM, Mel Gorman wrote: > On Mon, Jan 20, 2014 at 02:21:03PM -0500, r...@redhat.com wrote: >> +++ b/include/linux/sched.h >> @@ -1492,6 +1492,14 @@ struct task_struct { >> unsigned long *numa_faults_buffer; >> >> /* >> + * Track the nodes where faults are incurred

Re: [PATCH 2/6] numa,sched: track from which nodes NUMA faults are triggered

2014-01-21 Thread Mel Gorman
On Mon, Jan 20, 2014 at 02:21:03PM -0500, r...@redhat.com wrote: > From: Rik van Riel > > Track which nodes NUMA faults are triggered from, in other words > the CPUs on which the NUMA faults happened. This uses a similar > mechanism to what is used to track the memory involved in numa faults. >

[PATCH 2/6] numa,sched: track from which nodes NUMA faults are triggered

2014-01-20 Thread riel
From: Rik van Riel Track which nodes NUMA faults are triggered from, in other words the CPUs on which the NUMA faults happened. This uses a similar mechanism to what is used to track the memory involved in numa faults. The next patches use this to build up a bitmap of which nodes a workload is a

[PATCH 2/6] numa,sched: track from which nodes NUMA faults are triggered

2014-01-16 Thread riel
From: Rik van Riel Track which nodes NUMA faults are triggered from, in other words the CPUs on which the NUMA faults happened. This uses a similar mechanism to what is used to track the memory involved in numa faults. The next patches use this to build up a bitmap of which nodes a workload is a