mm: multi-gen LRU: cleanup lru_gen_soft_reclaim()
authorT.J. Alumbaugh <talumbau@google.com>
Mon, 22 May 2023 11:20:56 +0000 (11:20 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 9 Jun 2023 23:25:39 +0000 (16:25 -0700)
commit5c7e7a0d79072eb02780a2c0dee730b23cde711d
treecac34f6e6ff1f9cb2ea37ef652787fa3f52be4f4
parent0285762c6f161c3a93ffc75ba278aad21719460a
mm: multi-gen LRU: cleanup lru_gen_soft_reclaim()

lru_gen_soft_reclaim() gets the lruvec from the memcg and node ID to keep a
cleaner interface on the caller side.

Link: https://lkml.kernel.org/r/20230522112058.2965866-2-talumbau@google.com
Signed-off-by: T.J. Alumbaugh <talumbau@google.com>
Reviewed-by: Yuanchu Xie <yuanchu@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Yu Zhao <yuzhao@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mmzone.h
mm/memcontrol.c
mm/vmscan.c