diff options
author | Jason Gunthorpe <[email protected]> | 2022-09-29 11:59:25 -0300 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2022-10-04 12:06:58 -0600 |
commit | c82e81ab2569559ad873b3061217c2f37560682b (patch) | |
tree | 3cdb8747c5bbe641a1f0811aaa403dbc7364ff28 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 912b74d26c7df2da1e261f3dac8942c8cbb76a49 (diff) |
vfio: Change vfio_group->group_rwsem to a mutex
These days not much is using the read side:
- device first open
- ioctl_get_status
- device FD release
- check enforced_coherent
None of this is performance, so just make it into a normal mutex.
Signed-off-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions