summaryrefslogtreecommitdiff
path: root/security/device_cgroup.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-12-28 11:57:48 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-01-05 21:17:47 +0300
commitc701123bd68bf1cc3bc167b4f597cb1f4995c39c (patch)
treef48afeeb9cc2c6c2051d8d1598c2457a8475bbb7 /security/device_cgroup.c
parentb54d60b18e850561e8bdb4264ae740676c3b7658 (diff)
downloadlinux-c701123bd68bf1cc3bc167b4f597cb1f4995c39c.tar.xz
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 'security/device_cgroup.c')
0 files changed, 0 insertions, 0 deletions