Re: [patch]x86: spread tlb flush vector between nodes
From: Andi Kleen
Date: Tue Oct 19 2010 - 09:34:36 EST
>
> +static int tlb_vector_offset[NR_CPUS] __read_mostly;
Never use NR_CPUS. Always use per cpu data.
Otherwise you waste a lot of space on a CONFIG_MAX_SMP
kernel running on a smaller box.
-Andi
--
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/