[sheepdog] [PATCH 1/3] introduce more bit opreations into sheep

Christoph Hellwig hch at infradead.org
Wed May 16 10:08:59 CEST 2012


On Wed, May 16, 2012 at 03:52:53PM +0800, Liu Yuan wrote:
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> The code is excerpted from Linux kernel. We need some of thme by object cache.
> Other opertions are expected be used by future dev.
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  include/bitops.h |  394 ++++++++++++++++++++++++++++++++++++++++++++++++++++--

This will break all non-x86 architectures.  Can we get readily available
atomic bitops from somewhere instead of reimplementing the locally?



More information about the sheepdog mailing list