From: Alex Shi Date: Thu, 28 Jun 2012 01:02:24 +0000 (+0800) Subject: x86/tlb: do flush_tlb_kernel_range by 'invlpg' X-Git-Tag: v3.6-rc1~89^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=effee4b9b3b0aa5770bcd98de5f672b05b27703c;p=pandora-kernel.git x86/tlb: do flush_tlb_kernel_range by 'invlpg' This patch do flush_tlb_kernel_range by 'invlpg'. The performance pay and gain was analyzed in previous patch (x86/flush_tlb: try flush_tlb_single one by one in flush_tlb_range). In the testing: http://lkml.org/lkml/2012/6/21/10 The pay is mostly covered by long kernel path, but the gain is still quite clear, memory access in user APP can increase 30+% when kernel execute this funtion. Signed-off-by: Alex Shi Link: http://lkml.kernel.org/r/1340845344-27557-10-git-send-email-alex.shi@intel.com Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed