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:
Andrea Arcangeli 2011-01-13 15:46:38 -08:00 committed by Linus Torvalds
parent 14fd403f21
commit 59ff421631

View File

@ -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) static int destroy_compound_page(struct page *page, unsigned long order)
{ {
int i; int i;