Re: [PATCH 1/2] futex: eliminate cache miss from futex_hash()

From: Peter Zijlstra
Date: Mon Jun 22 2015 - 09:33:43 EST


On Mon, Jun 22, 2015 at 03:16:18PM +0200, Rasmus Villemoes wrote:
> +static struct {
> + struct futex_hash_bucket *queues;
> + unsigned long hashsize;
> +} __futex_data __read_mostly __aligned(16);

Does: __aligned(sizeof(__futex_data)), work?

Because 16 might waste 8 bytes on 32bit.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/