On Tue, Feb 13, 2018 at 10:35:05AM -0800, Yonghong Song wrote:
> The default rlimit RLIMIT_MEMLOCK is 64KB. In certain cases,
> e.g. in a test machine mimicking our production system, this test may
> fail due to unable to charge the required memory for map creation:
>    # ./test_tcpbpf_user
>    libbpf: failed to create map (name: 'global_map'): Operation not permitted
>    libbpf: failed to load object 'test_tcpbpf_kern.o'
>    FAILED: load_bpf_file failed for: test_tcpbpf_kern.o
> Changing the default rlimit RLIMIT_MEMLOCK to unlimited makes
> the test always pass.
> Signed-off-by: Yonghong Song <y...@fb.com>

Applied to bpf-next, Thanks Yonghong.

Reply via email to