Message ID | 20201211213653.AWzFNUbZK%akpm@linux-foundation.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/8] revert "mm/filemap: add static for function __add_to_page_cache_locked" | expand |
--- a/mm/hugetlb.c~mm-hugetlb-clear-compound_nr-before-freeing-gigantic-pages +++ a/mm/hugetlb.c @@ -1216,6 +1216,7 @@ static void destroy_compound_gigantic_pa } set_compound_order(page, 0); + page[1].compound_nr = 0; __ClearPageHead(page); }