projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f04029f
)
mm: convert destroy_large_folio() to use folio_dtor
author
Matthew Wilcox (Oracle)
<willy@infradead.org>
Wed, 11 Jan 2023 14:29:06 +0000
(14:29 +0000)
committer
Andrew Morton
<akpm@linux-foundation.org>
Fri, 3 Feb 2023 06:32:59 +0000
(22:32 -0800)
Replace a use of compound_dtor.
Link:
https://lkml.kernel.org/r/20230111142915.1001531-21-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c
patch
|
blob
|
history
diff --git
a/mm/page_alloc.c
b/mm/page_alloc.c
index f15e0e15243f74418934bc0188238475e89d9ea9..88494e82843dd5465c361c52842840cdac536711 100644
(file)
--- a/
mm/page_alloc.c
+++ b/
mm/page_alloc.c
@@
-807,7
+807,7
@@
void prep_compound_page(struct page *page, unsigned int order)
void destroy_large_folio(struct folio *folio)
{
- enum compound_dtor_id dtor = folio
_page(folio, 1)->compound
_dtor;
+ enum compound_dtor_id dtor = folio
->_folio
_dtor;
VM_BUG_ON_FOLIO(dtor >= NR_COMPOUND_DTORS, folio);
compound_page_dtors[dtor](&folio->page);