diff options
author | Alex Shi <alex.shi@intel.com> | 2012-06-27 21:02:23 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-06-27 22:29:13 -0400 |
commit | 52aec3308db85f4e9f5c8b9f5dc4fbd0138c6fa4 (patch) | |
tree | 75ad5a9e508fcbbc041d0fe4f1245c98e08af38c /ipc | |
parent | 611ae8e3f5204f7480b3b405993b3352cfa16662 (diff) |
x86/tlb: replace INVALIDATE_TLB_VECTOR by CALL_FUNCTION_VECTOR
There are 32 INVALIDATE_TLB_VECTOR now in kernel. That is quite big
amount of vector in IDT. But it is still not enough, since modern x86
sever has more cpu number. That still causes heavy lock contention
in TLB flushing.
The patch using generic smp call function to replace it. That saved 32
vector number in IDT, and resolved the lock contention in TLB
flushing on large system.
In the NHM EX machine 4P * 8cores * HT = 64 CPUs, hackbench pthread
has 3% performance increase.
Signed-off-by: Alex Shi <alex.shi@intel.com>
Link: http://lkml.kernel.org/r/1340845344-27557-9-git-send-email-alex.shi@intel.com
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions