Re: [PATCH] Futexes IV (Fast Lightweight Userspace Semaphores)

Alan Cox
2002-03-08T20:26:03Z

> So I would suggest making the size (and thus alignment check) of locks at
> least 8 bytes (and preferably 16). That makes it slightly harder to put
> locks on the stack, but gcc does support stack alignment, even if the code
> sucks right now.

Can we go to cache line alignment - for an array of locks thats clearly
advantageous