summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoman Gushchin <roman.gushchin@linux.dev>2024-11-15 19:02:29 +0000
committerAndrew Morton <akpm@linux-foundation.org>2025-01-13 22:40:41 -0800
commit146ca40193ff8381f75d1ec3129d6f40dd333601 (patch)
treeb9696863a0f768811d0dd29b46caa9db817aa759 /lib
parent8eb92ed254e5353f38e4a664dc5fa70c8ec95d1a (diff)
mm: swap_cgroup: get rid of __lookup_swap_cgroup()
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. Link: https://lkml.kernel.org/r/20241115190229.676440-2-roman.gushchin@linux.dev Signed-off-by: Roman Gushchin <roman.gushchin@linux.dev> Acked-by: Shakeel Butt <shakeel.butt@linux.dev> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Michal Hocko <mhocko@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions