Re: 2.6.18 Headers - Long

From: Arjan van de Ven
Date: Sun Jul 16 2006 - 21:26:35 EST


On Sun, 2006-07-16 at 15:22 -0400, Albert Cahalan wrote:
> On 7/16/06, Russell King <rmk+lkml@xxxxxxxxxxxxxxxx> wrote:
> > On Sun, Jul 16, 2006 at 02:38:45PM -0400, Albert Cahalan wrote:
> > > On 7/16/06, Kyle Moffett <mrmacman_g4@xxxxxxx> wrote:
> > > >On Jul 15, 2006, at 17:09:28, Albert Cahalan wrote:
> > >
> > > >You realize that on a couple architectures it's fundamentally
> > > >impossible to get atomic ops completely in userspace, right?
> > >
> > > Sure. Those architectures don't need to drag down the rest.
> > > Plenty of headers are only exported for some architectures.
> >
> > Wrong perspective. The problem is that they may _appear_ to work as
> > described, but not actually work in the intended way. That's a bug,
> > and it's a _hard_ bug to locate.
>
> Again:
>
> Plenty of headers are only exported for some architectures.


and guess what... atomic.h does not work on i386, at least it doesn't
provide atomic access in userspace!



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