[lkml]   [2010]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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    [W:0.064 / U:4.172 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site