aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorRik van Riel <riel@redhat.com>2014-01-27 17:03:41 -0500
committerIngo Molnar <mingo@kernel.org>2014-01-28 07:17:05 -0500
commitff1df896aef8e0ec1556a5c44f424bd45bfa2cbe (patch)
tree54bdc13838a9f9b2580d6afdc9fa6410164b798b /include/linux
parent52bf84aa206cd2c2516dfa3e03b578edf8a3242f (diff)
sched/numa: Rename p->numa_faults to numa_faults_memory
In order to get a more consistent naming scheme, making it clear which fault statistics track memory locality, and which track CPU locality, rename the memory fault statistics. Suggested-by: Mel Gorman <mgorman@suse.de> Signed-off-by: Rik van Riel <riel@redhat.com> Acked-by: Mel Gorman <mgorman@suse.de> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Cc: Chegu Vinod <chegu_vinod@hp.com> Link: http://lkml.kernel.org/r/1390860228-21539-3-git-send-email-riel@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sched.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index d572d5ba650f..144d509df053 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1469,15 +1469,15 @@ struct task_struct {
1469 * Scheduling placement decisions are made based on the these counts. 1469 * Scheduling placement decisions are made based on the these counts.
1470 * The values remain static for the duration of a PTE scan 1470 * The values remain static for the duration of a PTE scan
1471 */ 1471 */
1472 unsigned long *numa_faults; 1472 unsigned long *numa_faults_memory;
1473 unsigned long total_numa_faults; 1473 unsigned long total_numa_faults;
1474 1474
1475 /* 1475 /*
1476 * numa_faults_buffer records faults per node during the current 1476 * numa_faults_buffer records faults per node during the current
1477 * scan window. When the scan completes, the counts in numa_faults 1477 * scan window. When the scan completes, the counts in
1478 * decay and these values are copied. 1478 * numa_faults_memory decay and these values are copied.
1479 */ 1479 */
1480 unsigned long *numa_faults_buffer; 1480 unsigned long *numa_faults_buffer_memory;
1481 1481
1482 /* 1482 /*
1483 * numa_faults_locality tracks if faults recorded during the last 1483 * numa_faults_locality tracks if faults recorded during the last