lkml.org 
[lkml]   [2010]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 02/19] kernel: add bl_list
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.



\
 
 \ /
  Last update: 2010-10-16 18:35    [from the cache]
©2003-2011 Jasper Spaans