diff options
author | Waiman Long <longman@redhat.com> | 2019-05-20 22:59:05 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-06-17 12:27:59 +0200 |
commit | 3f6d517a3ece6e6ced7abcbe798ff332ac5ca586 (patch) | |
tree | 43206e2cc7d73f4092731691329c45a9ead7d48d /.mailmap | |
parent | locking/rwsem: Code cleanup after files merging (diff) | |
download | linux-3f6d517a3ece6e6ced7abcbe798ff332ac5ca586.tar.xz linux-3f6d517a3ece6e6ced7abcbe798ff332ac5ca586.zip |
locking/rwsem: Make rwsem_spin_on_owner() return owner state
This patch modifies rwsem_spin_on_owner() to return four possible
values to better reflect the state of lock holder which enables us to
make a better decision of what to do next.
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tim Chen <tim.c.chen@linux.intel.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: huang ying <huang.ying.caritas@gmail.com>
Link: https://lkml.kernel.org/r/20190520205918.22251-7-longman@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions