aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 80bcee0c5034..0734bedabd9c 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -530,7 +530,7 @@ static void free_pcppages_bulk(struct zone *zone, int count,
530 int batch_free = 0; 530 int batch_free = 0;
531 531
532 spin_lock(&zone->lock); 532 spin_lock(&zone->lock);
533 zone_clear_flag(zone, ZONE_ALL_UNRECLAIMABLE); 533 zone->all_unreclaimable = 0;
534 zone->pages_scanned = 0; 534 zone->pages_scanned = 0;
535 535
536 __mod_zone_page_state(zone, NR_FREE_PAGES, count); 536 __mod_zone_page_state(zone, NR_FREE_PAGES, count);
@@ -568,7 +568,7 @@ static void free_one_page(struct zone *zone, struct page *page, int order,
568 int migratetype) 568 int migratetype)
569{ 569{
570 spin_lock(&zone->lock); 570 spin_lock(&zone->lock);
571 zone_clear_flag(zone, ZONE_ALL_UNRECLAIMABLE); 571 zone->all_unreclaimable = 0;
572 zone->pages_scanned = 0; 572 zone->pages_scanned = 0;
573 573
574 __mod_zone_page_state(zone, NR_FREE_PAGES, 1 << order); 574 __mod_zone_page_state(zone, NR_FREE_PAGES, 1 << order);
@@ -2262,7 +2262,7 @@ void show_free_areas(void)
2262 K(zone_page_state(zone, NR_BOUNCE)), 2262 K(zone_page_state(zone, NR_BOUNCE)),
2263 K(zone_page_state(zone, NR_WRITEBACK_TEMP)), 2263 K(zone_page_state(zone, NR_WRITEBACK_TEMP)),
2264 zone->pages_scanned, 2264 zone->pages_scanned,
2265 (zone_is_all_unreclaimable(zone) ? "yes" : "no") 2265 (zone->all_unreclaimable ? "yes" : "no")
2266 ); 2266 );
2267 printk("lowmem_reserve[]:"); 2267 printk("lowmem_reserve[]:");
2268 for (i = 0; i < MAX_NR_ZONES; i++) 2268 for (i = 0; i < MAX_NR_ZONES; i++)