summaryrefslogtreecommitdiffstats
path: root/samples/bpf
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2023-12-19 14:57:27 +0100
committerAlexei Starovoitov <ast@kernel.org>2023-12-20 03:22:11 +0100
commit441c725ed592cb22f2a82f2827dccd045356cc81 (patch)
tree9cac0236c309a0f046fcdbcc5987e947fa2055e6 /samples/bpf
parentMerge branch 'enhance-bpf-global-subprogs-with-argument-tags' (diff)
downloadlinux-441c725ed592cb22f2a82f2827dccd045356cc81.tar.xz
linux-441c725ed592cb22f2a82f2827dccd045356cc81.zip
selftests/bpf: Close cgrp fd before calling cleanup_cgroup_environment()
There is error log when htab-mem benchmark completes. The error log looks as follows: $ ./bench htab-mem -d1 Setting up benchmark 'htab-mem'... Benchmark 'htab-mem' started. ...... (cgroup_helpers.c:353: errno: Device or resource busy) umount cgroup2 Fix it by closing cgrp fd before invoking cleanup_cgroup_environment(). Signed-off-by: Hou Tao <houtao1@huawei.com> Link: https://lore.kernel.org/r/20231219135727.2661527-1-houtao@huaweicloud.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples/bpf')
0 files changed, 0 insertions, 0 deletions