diff --git a/mm/page_alloc.c b/mm/page_alloc.c index d037c8bc15123cabf0d1c0c0043e028e59a64686..62496edbd8dd8f0a87a877c174bf0fe49ac54e56 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -371,8 +371,7 @@ static int destroy_compound_page(struct page *page, unsigned long order) int nr_pages = 1 << order; int bad = 0; - if (unlikely(compound_order(page) != order) || - unlikely(!PageHead(page))) { + if (unlikely(compound_order(page) != order)) { bad_page(page); bad++; }