aboutsummaryrefslogtreecommitdiff
path: root/kernel/bpf/memalloc.c
diff options
context:
space:
mode:
authorHou Tao <[email protected]>2023-12-19 21:57:27 +0800
committerAlexei Starovoitov <[email protected]>2023-12-19 18:22:11 -0800
commit441c725ed592cb22f2a82f2827dccd045356cc81 (patch)
tree9cac0236c309a0f046fcdbcc5987e947fa2055e6 /kernel/bpf/memalloc.c
parent85dd93ac6e00adf09fc27e4d2e7f5c9aaf275d38 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'kernel/bpf/memalloc.c')
0 files changed, 0 insertions, 0 deletions