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

Liu Yuan namei.unix at gmail.com
Wed May 16 10:35:55 CEST 2012


On 05/16/2012 04:18 PM, Liu Yuan wrote:

> On 05/16/2012 04:08 PM, Christoph Hellwig wrote:
> 
>> This will break all non-x86 architectures.  Can we get readily available
>> atomic bitops from somewhere instead of reimplementing the locally?
> 
> 
> I tried, but I didn't find a library to provide header as nice and
> useful as kernel's. If any, I'd like to use take it.
> 
> If not, we can add non-x86 support when is needed.
> 

Hmm, seems that for now object cache only need fls64() which could be
implemented by generic coding. I'll try v2 to address arch problem.

Thanks,
Yuan



More information about the sheepdog mailing list