On Mon, Jun 22, 2015 at 03:45:10PM +0200, Rasmus Villemoes wrote: > On Mon, Jun 22 2015, Peter Zijlstra <[email protected]> wrote:
> > Does: __aligned(sizeof(__futex_data)), work? > Unfortunately not: > > Because 16 might waste 8 bytes on 32bit. > > Yeah, wasting >= 48 bytes was the reason I didn't make it > ____cacheline_aligned. If 8 bytes is also too much, I suppose one could > just give the struct a tag and then use sizeof(struct futex_data). Nah, its probably fine, just wondering if it could be done better. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/

