Re: [PATCH 02/19] kernel: add bl_list

Christoph Hellwig
2010-10-16T16:32:09Z

On Sat, Oct 16, 2010 at 08:51:50PM +1100, Nick Piggin wrote:
> I don't know why Christoph asked for these; he's usually against
> obfuscating wrapper functions.
>
> bit_spin_lock is fine in callers so please leave it at that.
> Other users may not want a spinlock, or might want to use
> bit_spin_is_locked, bit_spin_trylock etc.

See the comments on the previous posting of this. It provides a useful
abtraction. And yes, eventually we might need more wrappers, but
we can add them as needed.