Re: atomic RAM ?

From: Alan Cox
Date: Wed Apr 14 2010 - 08:53:13 EST


> > FUTEX ... is an implementation ... for certain classes of processor.
> Alan,
>
> If that is true "in depth", there should be no FUTEX-relevant code,
> neither in the Kernel, nor in the library, that should be considered
> "arch-independent".

We have a lot of kernel code which is only usable on some architectures
and a few opt out of. The largest example of course being the mm layer
which is strictly for MMU equipped systems.

The important point is that you don't *have* to use futex to provide the
posix pthread lock primitives if they don't fit your platform.

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