From: Alex Shi Date: Thu, 28 Jun 2012 01:02:20 +0000 (+0800) Subject: x86/tlb: add tlb_flushall_shift knob into debugfs X-Git-Tag: v3.6-rc1~89^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3df3212f9722c7e45c723b9ea231a04ba4dbc47c;p=pandora-kernel.git 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 Link: http://lkml.kernel.org/r/1340845344-27557-6-git-send-email-alex.shi@intel.com Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed