Re: [PATCH bpf-next v3 27/29] bpf: eliminate rlimit-based memory accounting infra for bpf maps

2020-07-31 Thread Song Liu
On Thu, Jul 30, 2020 at 2:27 PM Roman Gushchin wrote: > > Remove rlimit-based accounting infrastructure code, which is not used > anymore. > > Signed-off-by: Roman Gushchin The code is good, so Acked-by: Song Liu However, I am still nervous as we deprecate memlock. > --- > include/linux/bpf

[PATCH bpf-next v3 27/29] bpf: eliminate rlimit-based memory accounting infra for bpf maps

2020-07-30 Thread Roman Gushchin
Remove rlimit-based accounting infrastructure code, which is not used anymore. Signed-off-by: Roman Gushchin --- include/linux/bpf.h | 12 kernel/bpf/syscall.c | 64 +-- .../selftests/bpf/progs/map_ptr_kern.c| 5 --