]> git.baikalelectronics.ru Git - kernel.git/commit
memcg: convert mem_cgroup_swapin_charge_page() to mem_cgroup_swapin_charge_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 2 Sep 2022 19:46:12 +0000 (20:46 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:02:47 +0000 (14:02 -0700)
commitcb92b82b7b86da9781cac27c6be81dbde20c204f
treec377c91fb62cf809e11bf327392cafb379ddd513
parentc1f9dc78851a23f91c11937d9a6afc62e6b3a119
memcg: convert mem_cgroup_swapin_charge_page() to mem_cgroup_swapin_charge_folio()

All callers now have a folio, so pass it in here and remove an unnecessary
call to page_folio().

Link: https://lkml.kernel.org/r/20220902194653.1739778-17-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/memcontrol.h
mm/memcontrol.c
mm/memory.c
mm/swap_state.c