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

From: Song Liu
Date: Fri Jul 31 2020 - 18:47:58 EST


On Thu, Jul 30, 2020 at 2:27 PM Roman Gushchin <guro@xxxxxx> wrote:
>
> Remove rlimit-based accounting infrastructure code, which is not used
> anymore.
>
> Signed-off-by: Roman Gushchin <guro@xxxxxx>

The code is good, so

Acked-by: Song Liu <songliubraving@xxxxxx>

However, I am still nervous as we deprecate memlock.

> ---
> include/linux/bpf.h | 12 ----
> kernel/bpf/syscall.c | 64 +------------------
> .../selftests/bpf/progs/map_ptr_kern.c | 5 --
> 3 files changed, 2 insertions(+), 79 deletions(-)

[...]