diff options
Diffstat (limited to 'mm/swap.c')
-rw-r--r-- | mm/swap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -87,7 +87,7 @@ int rotate_reclaimable_page(struct page *page) | |||
87 | spin_lock_irqsave(&zone->lru_lock, flags); | 87 | spin_lock_irqsave(&zone->lru_lock, flags); |
88 | if (PageLRU(page) && !PageActive(page)) { | 88 | if (PageLRU(page) && !PageActive(page)) { |
89 | list_move_tail(&page->lru, &zone->inactive_list); | 89 | list_move_tail(&page->lru, &zone->inactive_list); |
90 | inc_page_state(pgrotated); | 90 | __count_vm_event(PGROTATED); |
91 | } | 91 | } |
92 | if (!test_clear_page_writeback(page)) | 92 | if (!test_clear_page_writeback(page)) |
93 | BUG(); | 93 | BUG(); |
@@ -107,7 +107,7 @@ void fastcall activate_page(struct page *page) | |||
107 | del_page_from_inactive_list(zone, page); | 107 | del_page_from_inactive_list(zone, page); |
108 | SetPageActive(page); | 108 | SetPageActive(page); |
109 | add_page_to_active_list(zone, page); | 109 | add_page_to_active_list(zone, page); |
110 | inc_page_state(pgactivate); | 110 | __count_vm_event(PGACTIVATE); |
111 | } | 111 | } |
112 | spin_unlock_irq(&zone->lru_lock); | 112 | spin_unlock_irq(&zone->lru_lock); |
113 | } | 113 | } |