projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7f84b5
)
mm/debug: remove call to head_compound_mapcount()
author
Matthew Wilcox (Oracle)
<willy@infradead.org>
Wed, 11 Jan 2023 14:28:58 +0000
(14:28 +0000)
committer
Andrew Morton
<akpm@linux-foundation.org>
Fri, 3 Feb 2023 06:32:57 +0000
(22:32 -0800)
Call folio_entire_mapcount() instead.
Link:
https://lkml.kernel.org/r/20230111142915.1001531-13-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/debug.c
patch
|
blob
|
history
diff --git
a/mm/debug.c
b/mm/debug.c
index 8e58e8dab0b2bb54be3b9caf6c04c1dd1ce61e97..9d3d893dc7f4eafe2bd93bcf9f6a430fc45d113f 100644
(file)
--- a/
mm/debug.c
+++ b/
mm/debug.c
@@
-94,9
+94,9
@@
static void __dump_page(struct page *page)
page, page_ref_count(head), mapcount, mapping,
page_to_pgoff(page), page_to_pfn(page));
if (compound) {
- pr_warn("head:%p order:%u
compound
_mapcount:%d nr_pages_mapped:%d pincount:%d\n",
+ pr_warn("head:%p order:%u
entire
_mapcount:%d nr_pages_mapped:%d pincount:%d\n",
head, compound_order(head),
-
head_compound_mapcount(head
),
+
folio_entire_mapcount(folio
),
folio_nr_pages_mapped(folio),
atomic_read(&folio->_pincount));
}