Re: [PATCH 2/2] mm: swap_cgroup: get rid of __lookup_swap_cgroup()
From: Shakeel Butt
Date: Fri Nov 15 2024 - 15:25:06 EST
On Fri, Nov 15, 2024 at 07:02:29PM +0000, Roman Gushchin wrote:
> Because swap_cgroup map is now virtually contiguous,
> swap_cgroup_record() can be simplified, which eliminates
> a need to use __lookup_swap_cgroup().
>
> Now as __lookup_swap_cgroup() is really trivial and is used only once,
> it can be inlined.
>
> Signed-off-by: Roman Gushchin <roman.gushchin@xxxxxxxxx>
Acked-by: Shakeel Butt <shakeel.butt@xxxxxxxxx>