aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inv.c
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2020-11-20 23:14:12 -0500
committerPeter Zijlstra <peterz@infradead.org>2020-12-09 17:08:47 +0100
commitc8fe8b0564388f41147326f31e4587171aacccd4 (patch)
treeda3fb2f70ad4d542f0260c8115842bb97e651a65 /lib/mpi/mpi-inv.c
parentc995e638ccbbc65a76d1713c4fdcf927e7e2cb83 (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 <longman@redhat.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Davidlohr Bueso <dbueso@suse.de> Link: https://lkml.kernel.org/r/20201121041416.12285-2-longman@redhat.com
Diffstat (limited to 'lib/mpi/mpi-inv.c')
0 files changed, 0 insertions, 0 deletions