aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <[email protected]>2023-02-07 04:58:21 -0800
committerHans de Goede <[email protected]>2023-02-10 17:21:02 +0100
commit9a90ea7d378486aa358330dafc7e8c3b27de4d84 (patch)
tree3f3edc490edc1ea7fdb84dec122f4b9b1ee551d0 /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parentbe1ca8ae66851ba6a8131c15e7f9c85430315f57 (diff)
platform/x86/intel/vsec: Use mutex for ida_alloc() and ida_free()
ID alloc and free functions don't have in built protection for parallel invocation of ida_alloc() and ida_free(). With the current flow in the vsec driver, there is no such scenario. But add mutex protection for potential future changes. Suggested-by: Hans de Goede <[email protected]> Signed-off-by: Srinivas Pandruvada <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions