diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-02-04 09:34:37 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-02-11 13:10:57 +0100 |
commit | bcba67cd806800fa8e973ac49dbc7d2d8fb3e55e (patch) | |
tree | 3d6fe168cd5bccb14aaca011a89164534b1123ef /include/linux/percpu-rwsem.h | |
parent | 7f26482a872c36b2ee87ea95b9dcd96e3d5805df (diff) | |
download | kernel_replicant_linux-bcba67cd806800fa8e973ac49dbc7d2d8fb3e55e.tar.gz kernel_replicant_linux-bcba67cd806800fa8e973ac49dbc7d2d8fb3e55e.tar.bz2 kernel_replicant_linux-bcba67cd806800fa8e973ac49dbc7d2d8fb3e55e.zip |
locking/rwsem: Remove RWSEM_OWNER_UNKNOWN
Remove the now unused RWSEM_OWNER_UNKNOWN hack. This hack breaks
PREEMPT_RT and getting rid of it was the entire motivation for
re-writing the percpu rwsem.
The biggest problem is that it is fundamentally incompatible with any
form of Priority Inheritance, any exclusively held lock must have a
distinct owner.
Requested-by: Christoph Hellwig <hch@infradead.org>
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/20200204092228.GP14946@hirez.programming.kicks-ass.net
Diffstat (limited to 'include/linux/percpu-rwsem.h')
0 files changed, 0 insertions, 0 deletions