Re: [PATCH -v4 1/2] lib, Make gen_pool memory allocator lockless

From: Peter Zijlstra
Date: Wed Nov 17 2010 - 05:41:06 EST


On Wed, 2010-11-17 at 10:18 +0800, Huang Ying wrote:
>
> cmpxchg has been used in that way by ftrace and perf for a long time. So
> I agree to make it a requirement on future architecture ports.

Neither mandate an architecture do this though, only that when an
architecture wants to support either feature and has NMIs (not all archs
have NMI equivalents) it has to be safe.




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/