]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90b9755181b0de798a2e10d2a8a76a8173a5bc28
tree83096d48832baaf5839e431a4584fd0e81f2434b
parent30bd154e8424654f302cd3549979c4ff76b089df
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