diff options
author | Yonghong Song <yhs@fb.com> | 2018-08-17 08:54:15 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-08-17 12:23:47 -0700 |
commit | a85da34e97f553d27b520757ffc9b31232694a78 (patch) | |
tree | 7adf0d64f31be5670c8d47e71ffa516d46fcbfcd /include/trace | |
parent | cbb2fb13db3209cf4264aa5f76393a12add91315 (diff) | |
download | linux-a85da34e97f553d27b520757ffc9b31232694a78.tar.bz2 |
tools/bpf: fix bpf selftest test_cgroup_storage failure
The bpf selftest test_cgroup_storage failed in one of
our production test servers.
# sudo ./test_cgroup_storage
Failed to create map: Operation not permitted
It turns out this is due to insufficient locked memory
with system default 16KB.
Similar to other self tests, let us arm the process
with unlimited locked memory. With this change,
the test passed.
# sudo ./test_cgroup_storage
test_cgroup_storage:PASS
Fixes: 68cfa3ac6b8d ("selftests/bpf: add a cgroup storage test")
Cc: Roman Gushchin <guro@fb.com>
Signed-off-by: Yonghong Song <yhs@fb.com>
Acked-by: Roman Gushchin <guro@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions