diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 4125230a1b2c..5886586fde6c 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -616,7 +616,11 @@ static int prep_new_page(struct page *page, int order, gfp_t gfp_flags) | |||
616 | 616 | ||
617 | page->flags &= ~(1 << PG_uptodate | 1 << PG_error | 1 << PG_reclaim | | 617 | page->flags &= ~(1 << PG_uptodate | 1 << PG_error | 1 << PG_reclaim | |
618 | 1 << PG_referenced | 1 << PG_arch_1 | | 618 | 1 << PG_referenced | 1 << PG_arch_1 | |
619 | 1 << PG_owner_priv_1 | 1 << PG_mappedtodisk); | 619 | 1 << PG_owner_priv_1 | 1 << PG_mappedtodisk |
620 | #ifdef CONFIG_UNEVICTABLE_LRU | ||
621 | | 1 << PG_mlocked | ||
622 | #endif | ||
623 | ); | ||
620 | set_page_private(page, 0); | 624 | set_page_private(page, 0); |
621 | set_page_refcounted(page); | 625 | set_page_refcounted(page); |
622 | 626 | ||