| commit | a071285834a59cb38054eea2c9579d759c5f0f2b | [log] [tgz] |
|---|---|---|
| author | Paul E. McKenney <paulmck@linux.ibm.com> | Tue Jan 08 10:39:49 2019 -0800 |
| committer | Paul E. McKenney <paulmck@linux.ibm.com> | Tue Jan 08 10:39:49 2019 -0800 |
| tree | 8c9cb4d4078aca48f7ddd9134695e733fd13acaa | |
| parent | 539243d756991fc901ddcf3b80922898295c0429 [diff] |
virt/kvm: spin_is_locked() with lockdep lockdep_assert_held() is better suited to checking locking requirements, since it only checks if the current thread holds the lock regardless of whether someone else does. This is also a step towards possibly removing spin_is_locked(). Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: "Radim Krčmář" <rkrcmar@redhat.com> Cc: <kvm@vger.kernel.org>