diff options
author | Peter Zijlstra <peterz@infradead.org> | 2019-10-31 12:34:23 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-02-11 13:10:55 +0100 |
commit | 75ff64572e497578e238fefbdff221c96f29067a (patch) | |
tree | 1ad12e94e5eee534c451c298642444d79a4c082b /kernel/rcu | |
parent | 71365d40232110f7b029befc9033ea311d680611 (diff) |
locking/percpu-rwsem: Extract __percpu_down_read_trylock()
In preparation for removing the embedded rwsem and building a custom
lock, extract the read-trylock primitive.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Davidlohr Bueso <dbueso@suse.de>
Acked-by: Will Deacon <will@kernel.org>
Acked-by: Waiman Long <longman@redhat.com>
Tested-by: Juri Lelli <juri.lelli@redhat.com>
Link: https://lkml.kernel.org/r/20200131151540.098485539@infradead.org
Diffstat (limited to 'kernel/rcu')
0 files changed, 0 insertions, 0 deletions