mm: document PageHuge somewhat
Acked-by: David Rientjes <rientjes@google.com> Cc: Mel Gorman <mel@csn.ul.ie> Cc: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
45ec16908e
commit
7795912c25
@ -671,6 +671,11 @@ static void prep_compound_gigantic_page(struct page *page, unsigned long order)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* PageHuge() only returns true for hugetlbfs pages, but not for normal or
|
||||||
|
* transparent huge pages. See the PageTransHuge() documentation for more
|
||||||
|
* details.
|
||||||
|
*/
|
||||||
int PageHuge(struct page *page)
|
int PageHuge(struct page *page)
|
||||||
{
|
{
|
||||||
compound_page_dtor *dtor;
|
compound_page_dtor *dtor;
|
||||||
|
Loading…
Reference in New Issue
Block a user