]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Eliminate rlimit-based memory accounting for bpf progs
authorRoman Gushchin <guro@fb.com>
Tue, 1 Dec 2020 21:58:59 +0000 (13:58 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 3 Dec 2020 02:32:47 +0000 (18:32 -0800)
commit7d80019cc0a0140dd83b9ee506bb2cebe6c16a94
tree6d5ad0320c105f2f5a3ed73182b44dc320febd31
parent7f532e4be4db593bb2e6f41377482d30cf61e8ac
bpf: Eliminate rlimit-based memory accounting for bpf progs

Do not use rlimit-based memory accounting for bpf progs. It has been
replaced with 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-34-guro@fb.com
include/linux/bpf.h
kernel/bpf/core.c
kernel/bpf/syscall.c