bpf: Eliminate rlimit-based memory accounting for bpf_struct_ops maps
authorRoman Gushchin <guro@fb.com>
Tue, 1 Dec 2020 21:58:45 +0000 (13:58 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 3 Dec 2020 02:32:46 +0000 (18:32 -0800)
commitf043733f31e5e12c6254045a03e519290543fa1b
tree83096d48832baaf5839e431a4584fd0e81f2434b
parent1bc5975613ed155fc57ee321041d3463e580b4a3
bpf: Eliminate rlimit-based memory accounting for bpf_struct_ops maps

Do not use rlimit-based memory accounting for bpf_struct_ops 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-20-guro@fb.com
kernel/bpf/bpf_struct_ops.c