aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmzone.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mmzone.h')
-rw-r--r--include/linux/mmzone.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index 2dbeec1d2874..27e748eb72b0 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -57,6 +57,14 @@ enum zone_stat_item {
57 NR_WRITEBACK, 57 NR_WRITEBACK,
58 NR_UNSTABLE_NFS, /* NFS unstable pages */ 58 NR_UNSTABLE_NFS, /* NFS unstable pages */
59 NR_BOUNCE, 59 NR_BOUNCE,
60#ifdef CONFIG_NUMA
61 NUMA_HIT, /* allocated in intended node */
62 NUMA_MISS, /* allocated in non intended node */
63 NUMA_FOREIGN, /* was intended here, hit elsewhere */
64 NUMA_INTERLEAVE_HIT, /* interleaver preferred this zone */
65 NUMA_LOCAL, /* allocation from local node */
66 NUMA_OTHER, /* allocation from other node */
67#endif
60 NR_VM_ZONE_STAT_ITEMS }; 68 NR_VM_ZONE_STAT_ITEMS };
61 69
62struct per_cpu_pages { 70struct per_cpu_pages {
@@ -71,15 +79,6 @@ struct per_cpu_pageset {
71#ifdef CONFIG_SMP 79#ifdef CONFIG_SMP
72 s8 vm_stat_diff[NR_VM_ZONE_STAT_ITEMS]; 80 s8 vm_stat_diff[NR_VM_ZONE_STAT_ITEMS];
73#endif 81#endif
74
75#ifdef CONFIG_NUMA
76 unsigned long numa_hit; /* allocated in intended node */
77 unsigned long numa_miss; /* allocated in non intended node */
78 unsigned long numa_foreign; /* was intended here, hit elsewhere */
79 unsigned long interleave_hit; /* interleaver prefered this zone */
80 unsigned long local_node; /* allocation from local node */
81 unsigned long other_node; /* allocation from other node */
82#endif
83} ____cacheline_aligned_in_smp; 82} ____cacheline_aligned_in_smp;
84 83
85#ifdef CONFIG_NUMA 84#ifdef CONFIG_NUMA