SGI UV cpumask: use static temp cpumask in flush_tlb
authorMike Travis <travis@sgi.com>
Sun, 11 Jan 2009 05:58:10 +0000 (21:58 -0800)
committerIngo Molnar <mingo@elte.hu>
Sun, 11 Jan 2009 18:13:09 +0000 (19:13 +0100)
commit0e21990ae7ee11af94f44f240b06e520cf1505d4
tree759edecf00072c61f0640f317d736b1eccd53f19
parent4595f9620cda8a1e973588e743cf5f8436dd20c6
SGI UV cpumask: use static temp cpumask in flush_tlb

Impact: Improve tlb flush performance for UV

Calling alloc_cpumask_var a zillion times a second does affect
performance.  Replace with static cpumask.

Note: when CONFIG_X86_UV is defined, this extra PER_CPU memory
will be optimized out for non-UV configs as is_uv_system() will
then return a constant 0.

Signed-off-by: Mike Travis <travis@sgi.com>
arch/x86/kernel/tlb_64.c