mm: do not use atomic operations when releasing pages
[firefly-linux-kernel-4.4.55.git] / mm / swap.c
index 11ebb9714f4962dd250d194704ace7db86443c0b..30b6a37c74af538538a1893d9e45469fa171f56c 100644 (file)
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -901,7 +901,7 @@ void release_pages(struct page **pages, int nr, bool cold)
                }
 
                /* Clear Active bit in case of parallel mark_page_accessed */
-               ClearPageActive(page);
+               __ClearPageActive(page);
 
                list_add(&page->lru, &pages_to_free);
        }