diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 2165be9462c0..43cb3b3e1679 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -453,12 +453,6 @@ static inline int free_pages_check(struct page *page) | |||
453 | 1 << PG_reserved | | 453 | 1 << PG_reserved | |
454 | 1 << PG_buddy )))) | 454 | 1 << PG_buddy )))) |
455 | bad_page(page); | 455 | bad_page(page); |
456 | /* | ||
457 | * PageReclaim == PageTail. It is only an error | ||
458 | * for PageReclaim to be set if PageCompound is clear. | ||
459 | */ | ||
460 | if (unlikely(!PageCompound(page) && PageReclaim(page))) | ||
461 | bad_page(page); | ||
462 | if (PageDirty(page)) | 456 | if (PageDirty(page)) |
463 | __ClearPageDirty(page); | 457 | __ClearPageDirty(page); |
464 | /* | 458 | /* |
@@ -602,7 +596,6 @@ static int prep_new_page(struct page *page, int order, gfp_t gfp_flags) | |||
602 | 1 << PG_locked | | 596 | 1 << PG_locked | |
603 | 1 << PG_active | | 597 | 1 << PG_active | |
604 | 1 << PG_dirty | | 598 | 1 << PG_dirty | |
605 | 1 << PG_reclaim | | ||
606 | 1 << PG_slab | | 599 | 1 << PG_slab | |
607 | 1 << PG_swapcache | | 600 | 1 << PG_swapcache | |
608 | 1 << PG_writeback | | 601 | 1 << PG_writeback | |