mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
thp: comment reminder in destroy_compound_page
Warn destroy_compound_page that __split_huge_page_refcount is heavily dependent on its internal behavior. Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Acked-by: Rik van Riel <riel@redhat.com> Acked-by: Mel Gorman <mel@csn.ul.ie> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
14fd403f21
commit
59ff421631
@ -357,6 +357,7 @@ void prep_compound_page(struct page *page, unsigned long order)
|
||||
}
|
||||
}
|
||||
|
||||
/* update __split_huge_page_refcount if you change this function */
|
||||
static int destroy_compound_page(struct page *page, unsigned long order)
|
||||
{
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user