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

H. Peter Anvin
2009-06-11T00:59:17Z

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