[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101019133426.GB11654@basil.fritz.box>
Date: Tue, 19 Oct 2010 15:34:26 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Shaohua Li <shaohua.li@...el.com>
Cc: Ingo Molnar <mingo@...e.hu>, "H. Peter Anvin" <hpa@...or.com>,
Andi Kleen <andi@...stfloor.org>,
lkml <linux-kernel@...r.kernel.org>,
"Chen, Tim C" <tim.c.chen@...el.com>
Subject: Re: [patch]x86: spread tlb flush vector between nodes
>
> +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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists