Re: [PATCH bpf-next v4 28/30] bpf: eliminate rlimit-based memory accounting infra for bpf maps

2020-08-21 Thread Roman Gushchin
On Fri, Aug 21, 2020 at 11:23:21AM -0700, Alexei Starovoitov wrote: > On Fri, Aug 21, 2020 at 08:01:32AM -0700, Roman Gushchin wrote: > > > > diff --git a/tools/testing/selftests/bpf/progs/map_ptr_kern.c > > b/tools/testing/selftests/bpf/progs/map_ptr_kern.c > > index 473665cac67e..49d1dcaf7999

Re: [PATCH bpf-next v4 28/30] bpf: eliminate rlimit-based memory accounting infra for bpf maps

2020-08-21 Thread Alexei Starovoitov
On Fri, Aug 21, 2020 at 08:01:32AM -0700, Roman Gushchin wrote: > > diff --git a/tools/testing/selftests/bpf/progs/map_ptr_kern.c > b/tools/testing/selftests/bpf/progs/map_ptr_kern.c > index 473665cac67e..49d1dcaf7999 100644 > --- a/tools/testing/selftests/bpf/progs/map_ptr_kern.c > +++ b/tools/

[PATCH bpf-next v4 28/30] bpf: eliminate rlimit-based memory accounting infra for bpf maps

2020-08-21 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 --