]> asedeno.scripts.mit.edu Git - linux.git/commit
x86/mm/tlb: Always use lazy TLB mode
authorRik van Riel <riel@surriel.com>
Mon, 16 Jul 2018 19:03:36 +0000 (15:03 -0400)
committerIngo Molnar <mingo@kernel.org>
Tue, 17 Jul 2018 07:35:34 +0000 (09:35 +0200)
commit95b0e6357d3e4e05349668940d7ff8f3b7e7e11e
tree94ae4f9a325fb0e0c5254b3b95a8abd3b9f6416d
parent64482aafe55fc7e84d0741c356f8176ee7bde357
x86/mm/tlb: Always use lazy TLB mode

Now that CPUs in lazy TLB mode no longer receive TLB shootdown IPIs, except
at page table freeing time, and idle CPUs will no longer get shootdown IPIs
for things like mprotect and madvise, we can always use lazy TLB mode.

Tested-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Rik van Riel <riel@surriel.com>
Acked-by: Dave Hansen <dave.hansen@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: efault@gmx.de
Cc: kernel-team@fb.com
Cc: luto@kernel.org
Link: http://lkml.kernel.org/r/20180716190337.26133-7-riel@surriel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/tlbflush.h
arch/x86/mm/tlb.c