summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/tlb.h
diff options
context:
space:
mode:
authorAlex Shi2012-06-28 03:02:20 +0200
committerH. Peter Anvin2012-06-28 04:29:10 +0200
commit3df3212f9722c7e45c723b9ea231a04ba4dbc47c (patch)
treecb93a81efb12b91813ed69e86bc5be24ca31de9d /include/asm-generic/tlb.h
parentx86/tlb: add tlb_flushall_shift for specific CPU (diff)
downloadkernel-qcow2-linux-3df3212f9722c7e45c723b9ea231a04ba4dbc47c.tar.gz
kernel-qcow2-linux-3df3212f9722c7e45c723b9ea231a04ba4dbc47c.tar.xz
kernel-qcow2-linux-3df3212f9722c7e45c723b9ea231a04ba4dbc47c.zip
x86/tlb: add tlb_flushall_shift knob into debugfs
kernel will replace cr3 rewrite with invlpg when tlb_flush_entries <= active_tlb_entries / 2^tlb_flushall_factor if tlb_flushall_factor is -1, kernel won't do this replacement. User can modify its value according to specific CPU/applications. Thanks for Borislav providing the help message of CONFIG_DEBUG_TLBFLUSH. Signed-off-by: Alex Shi <alex.shi@intel.com> Link: http://lkml.kernel.org/r/1340845344-27557-6-git-send-email-alex.shi@intel.com Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'include/asm-generic/tlb.h')
0 files changed, 0 insertions, 0 deletions