diff options
| author | Waiman Long <[email protected]> | 2020-11-20 23:14:12 -0500 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2020-12-09 17:08:47 +0100 |
| commit | c8fe8b0564388f41147326f31e4587171aacccd4 (patch) | |
| tree | da3fb2f70ad4d542f0260c8115842bb97e651a65 /tools/testing/selftests/bpf/prog_tests/access_variable_array.c | |
| parent | c995e638ccbbc65a76d1713c4fdcf927e7e2cb83 (diff) | |
locking/rwsem: Pass the current atomic count to rwsem_down_read_slowpath()
The atomic count value right after reader count increment can be useful
to determine the rwsem state at trylock time. So the count value is
passed down to rwsem_down_read_slowpath() to be used when appropriate.
Signed-off-by: Waiman Long <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Davidlohr Bueso <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions