summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2026-10-16 02:49:43 +0000
committerAlexei Starovoitov <ast@kernel.org>2026-10-16 02:49:53 +0000
commit0b4855d443cfb88468cf2303a453c262a81a3800 (patch)
tree29fab8dceef939f1c5dcbf81c50bdcb10e71c103 /scripts/Makefile.thinlto
parenta3923834d155ce7c3f630d891564791eeba8bb26 (diff)
parente0645cfd0e1b2ae7b8ad989bef00a30016b16b5f (diff)
Merge branch 'selftests-bpf-fix-the-bpffs-handling-of-cgroup_hierarchical_stats'
Qiliang Yuan says: ==================== selftests/bpf: Fix the bpffs handling of cgroup_hierarchical_stats cgroup_hierarchical_stats mounts a bpffs on /sys/fs/bpf to pin its iterators, then moves into a private mount namespace to set up its cgroups, and unmounts the bpffs in the end if it mounted it itself. The bpffs lands in the mount namespace shared with the tests running in parallel, on top of the one already there, and hides what they pin, which makes bpftool_maps_access and bpftool_metadata fail now and then. The unmount can't remove it from there, and it checks the other way around whether the test mounted a bpffs anyway. Patch 1 mounts the bpffs in the private mount namespace, patch 2 makes the cleanup unmount the bpffs that the test mounted. Signed-off-by: Qiliang Yuan <odys.yuan@gmail.com> --- V1 -> V2: - Mount the bpffs in the private mount namespace instead of skipping the mount when /sys/fs/bpf is a bpffs already (Yosry, CI bot) - Put that patch first, so that the unmount fix applies to a bpffs it can actually unmount - Pick up Reviewed-by from Yosry on the unmount fix v1: https://lore.kernel.org/r/20261008-selftests-bpf-cgroup-stats-bpffs-v1-0-76b9a6d1be34@gmail.com ==================== Link: https://patch.msgid.link/20261009-selftests-bpf-cgroup-stats-bpffs-v2-0-f93a111da992@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions