diff options
author | 2024-11-15 19:02:29 +0000 | |
---|---|---|
committer | 2025-01-13 22:40:41 -0800 | |
commit | 146ca40193ff8381f75d1ec3129d6f40dd333601 (patch) | |
tree | b9696863a0f768811d0dd29b46caa9db817aa759 /lib/maple_tree.c | |
parent | mm: swap_cgroup: allocate swap_cgroup map using vcalloc() (diff) | |
download | wireguard-linux-146ca40193ff8381f75d1ec3129d6f40dd333601.tar.xz wireguard-linux-146ca40193ff8381f75d1ec3129d6f40dd333601.zip |
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/maple_tree.c')
0 files changed, 0 insertions, 0 deletions