projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: avoid tail page refcounting on non-THP compound pages
[deliverable/linux.git]
/
include
/
linux
/
mm.h
diff --git
a/include/linux/mm.h
b/include/linux/mm.h
index fb1fc38b01cefbf6abbdc08331c7f9e0ae8c3436..515ec5045b60b7e5db07b66b5c87a478673f3aa4 100644
(file)
--- a/
include/linux/mm.h
+++ b/
include/linux/mm.h
@@
-496,7
+496,7
@@
static inline int page_count(struct page *page)
static inline bool __compound_tail_refcounted(struct page *page)
{
- return !PageSlab(page) && !PageHeadHuge(page);
+ return
PageAnon(page) &&
!PageSlab(page) && !PageHeadHuge(page);
}
/*
This page took
0.041252 seconds
and
5
git commands to generate.