diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-12-28 09:57:48 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-01-05 19:17:47 +0100 |
commit | c701123bd68bf1cc3bc167b4f597cb1f4995c39c (patch) | |
tree | f48afeeb9cc2c6c2051d8d1598c2457a8475bbb7 /mm/zsmalloc.c | |
parent | mm/khugepaged: use a folio more in collapse_file() (diff) | |
download | linux-c701123bd68bf1cc3bc167b4f597cb1f4995c39c.tar.xz linux-c701123bd68bf1cc3bc167b4f597cb1f4995c39c.zip |
mm/memcontrol: remove __mod_lruvec_page_state()
There are no more callers of __mod_lruvec_page_state(), so convert the
implementation to __lruvec_stat_mod_folio(), removing two calls to
compound_head() (one explicit, one hidden inside page_memcg()).
Link: https://lkml.kernel.org/r/20231228085748.1083901-7-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Acked-by: Shakeel Butt <shakeelb@google.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/zsmalloc.c')
0 files changed, 0 insertions, 0 deletions