]> Git Repo - linux.git/commit
x86/tlb: do flush_tlb_kernel_range by 'invlpg'
authorAlex Shi <[email protected]>
Thu, 28 Jun 2012 01:02:24 +0000 (09:02 +0800)
committerH. Peter Anvin <[email protected]>
Thu, 28 Jun 2012 02:29:14 +0000 (19:29 -0700)
commiteffee4b9b3b0aa5770bcd98de5f672b05b27703c
treeb167657ec2ba05797b925a93e7e1b45222ac5ac3
parent52aec3308db85f4e9f5c8b9f5dc4fbd0138c6fa4
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 <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected]>
arch/x86/include/asm/tlbflush.h
arch/x86/mm/tlb.c
This page took 0.053245 seconds and 4 git commands to generate.