diff options
author | Vishal Moola (Oracle) <vishal.moola@gmail.com> | 2023-10-20 21:33:30 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-26 02:47:14 +0300 |
commit | b455f39d228935f88eebcd1f7c1a6981093c6a3b (patch) | |
tree | 947056b1ad6480d868f0083acc5dda088745f0df /mm/memcontrol.c | |
parent | dbf85c21e4aff90912b5d7755d2b25611f9191e9 (diff) | |
download | linux-b455f39d228935f88eebcd1f7c1a6981093c6a3b.tar.xz |
mm/khugepaged: convert alloc_charge_hpage() to use folios
Also remove count_memcg_page_event now that its last caller no longer uses
it and reword hpage_collapse_alloc_page() to hpage_collapse_alloc_folio().
This removes 1 call to compound_head() and helps convert khugepaged to
use folios throughout.
Link: https://lkml.kernel.org/r/20231020183331.10770-5-vishal.moola@gmail.com
Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Reviewed-by: Rik van Riel <riel@surriel.com>
Reviewed-by: Yang Shi <shy828301@gmail.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions