Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7795912c authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

mm: document PageHuge somewhat



Acked-by: default avatarDavid Rientjes <rientjes@google.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 45ec1690
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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)
{
	compound_page_dtor *dtor;