]> git.baikalelectronics.ru Git - kernel.git/commit
mm: convert destroy_compound_page() to destroy_large_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 17 Jun 2022 17:50:17 +0000 (18:50 +0100)
committerakpm <akpm@linux-foundation.org>
Mon, 4 Jul 2022 01:08:48 +0000 (18:08 -0700)
commit6abecf971823ffba59f2f3bd56700a73378734a7
treea79598f7b903615471e753aa716006b3b2fb6f38
parentc49060e7b90c19a7c52830e602b6ea18a62534d5
mm: convert destroy_compound_page() to destroy_large_folio()

All callers now have a folio, so push the folio->page conversion
down to this function.

[akpm@linux-foundation.org: uninline destroy_large_folio() to fix build issue]
Link: https://lkml.kernel.org/r/20220617175020.717127-20-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mm.h
mm/page_alloc.c
mm/swap.c
mm/vmscan.c