[LTP] [PATCH] syscalls/bpf: auto bump RLIMIT_MEMLOCK

Cyril Hrubis chrubis@suse.cz
Thu Sep 26 14:17:44 CEST 2019


Hi!
> eBPF tests may fail (-EPERM) if max locked memory limit is too low.
> User-space tools such as perf started increasing MELOCK limit to
> avoid this problem.
> 
> LTP follows same approach and will attempt to raise RLIMIT_MEMLOCK
> if possible, otherwise prints an info message.
> 
> Link: http://lists.linux.it/pipermail/ltp/2019-August/013349.html
> Link: https://lkml.org/lkml/2019/7/17/714
> Signed-off-by: Jan Stancek <jstancek@redhat.com>

Looks good, acked.

Also have you had a look at the eBPF regression test?

Do you mind if I push that before the release (with added call to adjust
the memlock limit)?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list