diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index a9add06fe768..45583cd8dd56 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -2741,18 +2741,18 @@ int __isolate_free_page(struct page *page, unsigned int order) | |||
2741 | static inline void zone_statistics(struct zone *preferred_zone, struct zone *z) | 2741 | static inline void zone_statistics(struct zone *preferred_zone, struct zone *z) |
2742 | { | 2742 | { |
2743 | #ifdef CONFIG_NUMA | 2743 | #ifdef CONFIG_NUMA |
2744 | enum zone_stat_item local_stat = NUMA_LOCAL; | 2744 | enum numa_stat_item local_stat = NUMA_LOCAL; |
2745 | 2745 | ||
2746 | if (z->node != numa_node_id()) | 2746 | if (z->node != numa_node_id()) |
2747 | local_stat = NUMA_OTHER; | 2747 | local_stat = NUMA_OTHER; |
2748 | 2748 | ||
2749 | if (z->node == preferred_zone->node) | 2749 | if (z->node == preferred_zone->node) |
2750 | __inc_zone_state(z, NUMA_HIT); | 2750 | __inc_numa_state(z, NUMA_HIT); |
2751 | else { | 2751 | else { |
2752 | __inc_zone_state(z, NUMA_MISS); | 2752 | __inc_numa_state(z, NUMA_MISS); |
2753 | __inc_zone_state(preferred_zone, NUMA_FOREIGN); | 2753 | __inc_numa_state(preferred_zone, NUMA_FOREIGN); |
2754 | } | 2754 | } |
2755 | __inc_zone_state(z, local_stat); | 2755 | __inc_numa_state(z, local_stat); |
2756 | #endif | 2756 | #endif |
2757 | } | 2757 | } |
2758 | 2758 | ||