Skip to content
Commit 3df3212f authored by Alex Shi's avatar Alex Shi Committed by H. Peter Anvin
Browse files

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: default avatarAlex Shi <alex.shi@intel.com>
Link: http://lkml.kernel.org/r/1340845344-27557-6-git-send-email-alex.shi@intel.com


Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent c4211f42
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment