projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45ec169
)
mm: document PageHuge somewhat
author
Andrew Morton
<akpm@linux-foundation.org>
Mon, 8 Oct 2012 23:34:11 +0000
(16:34 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 9 Oct 2012 07:23:03 +0000
(16:23 +0900)
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>
mm/hugetlb.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/hugetlb.c
b/mm/hugetlb.c
index 993f7c1820a8aba523cf24bf10d391b58ed09158..59a0059b39e27e8eb6d8dbaea784318dbde97333 100644
(file)
--- a/
mm/hugetlb.c
+++ b/
mm/hugetlb.c
@@
-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;