]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Eliminate rlimit-based memory accounting for sockmap and sockhash maps
authorRoman Gushchin <guro@fb.com>
Tue, 1 Dec 2020 21:58:54 +0000 (13:58 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 3 Dec 2020 02:32:47 +0000 (18:32 -0800)
commitc142b46abdb2c496699dd2106f19dd5dfb6a277d
tree77ce7a62026b23ee7d4c53df89292de9ea7e17c6
parent2cb0323c3f8a084e690044a2473555eaf1041ed9
bpf: Eliminate rlimit-based memory accounting for sockmap and sockhash maps

Do not use rlimit-based memory accounting for sockmap and sockhash maps.
It has been replaced with the memcg-based memory accounting.

Signed-off-by: Roman Gushchin <guro@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20201201215900.3569844-29-guro@fb.com
net/core/sock_map.c