xtensa: optimize local_flush_tlb_kernel_range
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 14 Feb 2014 10:08:48 +0000 (14:08 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 6 Apr 2014 17:29:17 +0000 (21:29 +0400)
commit04c6b3e2b5e5c1dbd99ad7620033eafd05ff4c26
treea6f93ad79be6262819a5bc6b73f2646c4f4985dd
parent8585b316bbed9339412d267c1fd8839dd059d69f
xtensa: optimize local_flush_tlb_kernel_range

Don't flush whole TLB if only a small kernel range is requested.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/tlbflush.h
arch/xtensa/kernel/smp.c
arch/xtensa/mm/tlb.c