OSDN Git Service

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)
commit0d2c4f9640501ff57ba0be1f5644a02c29a02fa1
tree77ce7a62026b23ee7d4c53df89292de9ea7e17c6
parentabbdd0813f347f9d1eea376409a68295318b2ef5
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