Re: [PATCH] spinlock: Get rid of spin_can_lock()
From: Peter Zijlstra
Date: Wed Jun 01 2016 - 08:45:38 EST
On Mon, May 23, 2016 at 06:54:02AM -0700, Davidlohr Bueso wrote:
> ... it has no users and we already have the the regular spin_is_lock()
> call anyway -- although iirc this was going to be different
> than the simple negation for lock elision implementations. Lets drop it.
What about {read,write}_can_lock() ? those look equally unused and
borken.