Re: [PATCH RFC ticketlock] Auto-queued ticketlock

From: Thomas Gleixner
Date: Mon Jun 10 2013 - 17:02:10 EST


On Mon, 10 Jun 2013, Steven Rostedt wrote:
> On Sun, 2013-06-09 at 12:36 -0700, Paul E. McKenney wrote:
> > +#ifdef __BIG_ENDIAN__
>
> Is there such a thing as a BIG_ENDIAN x86 box? This is in
> arch/x86/include/asm/spinlock_types.h

That's just an habit for people who have been forced to deal with BE
CPUs.

The sad thing is that BE CPUs have been designed by folks who blindly
expanded BCD computing without understanding the hardware
implications.

Unfortunately they managed to inflict BE to the network protocols
which in turn manifested the only excuse of keeping the BE nonsense
alive.

Thanks,

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