diff options
author | Peter Zijlstra <peterz@infradead.org> | 2016-11-14 18:03:11 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-01-18 10:03:29 +0100 |
commit | 0a13cd1a05e7a549259d4f803d2ec2efda07ed7c (patch) | |
tree | 8d8799d8a46d827a689e9939d472654b307e16c8 /security | |
parent | locking/ww_mutex: Turn off __must_check for now (diff) | |
download | linux-0a13cd1a05e7a549259d4f803d2ec2efda07ed7c.tar.xz linux-0a13cd1a05e7a549259d4f803d2ec2efda07ed7c.zip |
locking/atomic, kref: Implement kref_put_lock()
Because home-rolling your own is _awesome_, stop doing it. Provide
kref_put_lock(), just like kref_put_mutex() but for a spinlock.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions