Re: [PATCH 3/3] ring-buffer: add design document

From: H. Peter Anvin
Date: Wed Jun 10 2009 - 20:59:21 EST


Huang Ying wrote:
>
> As far as I know, some architectures have no hardware assisted (NMI
> safe) cmpxchg. Is it OK to use cmpxchg in architecture-independent code?
>

Including the i386.

-hpa
--
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/