diff options
author | Matthew Wilcox (Oracle) <[email protected]> | 2024-01-11 18:12:16 +0000 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-02-21 16:00:03 -0800 |
commit | b267e1a3e45fcc75fa1434d5c978b36624324e58 (patch) | |
tree | e523f8c09b6336e3ccc60b4828ae6ff5e4db322f /include/linux/fpga/fpga-mgr.h | |
parent | 05976a42b327d4f5a529a5e55cb8bfc2fa0bcca1 (diff) |
memcg: convert mem_cgroup_move_charge_pte_range() to use a folio
Patch series "Convert memcontrol charge moving to use folios".
No part of these patches should change behaviour; all the called functions
already convert from page to folio, so this ought to simply be a reduction
in the number of calls to compound_head().
This patch (of 4):
Remove many calls to compound_head() by calling page_folio() once at the
start of each stanza which receives a struct page from 'target'. There
should be no change in behaviour here as all the called functions start
out by converting the page to its folio.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Reviewed-by: Roman Gushchin <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Acked-by: Shakeel Butt <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions