[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101016163206.GE20086@infradead.org>
Date: Sat, 16 Oct 2010 12:32:06 -0400
From: Christoph Hellwig <hch@...radead.org>
To: Nick Piggin <npiggin@...nel.dk>
Cc: Dave Chinner <david@...morbit.com>, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists