aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorChristian Brauner <[email protected]>2023-11-22 13:44:39 +0100
committerChristian Brauner <[email protected]>2023-11-28 14:08:47 +0100
commit783822e44594639848b78d4bb61dde26fba04e05 (patch)
tree8e2a0cff97798a1e092d13e672037b3199cbdb2b /tools/testing/selftests/bpf/prog_tests/autoload.c
parent90fbd8b175ee75ee3d37d748b92bc317660b586d (diff)
mnt_idmapping: decouple from namespaces
There's no reason we need to couple mnt idmapping to namespaces in the way we currently do. Copy the idmapping when an idmapped mount is created and don't take any reference on the namespace at all. We also can't easily refcount struct uid_gid_map because it needs to stay the size of a cacheline otherwise we risk performance regressions (Ignoring for a second that right now struct uid_gid_map isn't actually 64 byte but 72 but that's a fix for another patch series.). Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions