diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-01-23 14:22:50 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-01-27 10:24:44 +0100 |
commit | 5c8136fa1af7c0e9b4aec89cf2832f6e5197ce32 (patch) | |
tree | a8aadf6699651688193f374df647081770fbccc7 /mm/page_alloc.c | |
parent | powerpc/pseries: Add Initialization of VF Bars (diff) | |
download | linux-5c8136fa1af7c0e9b4aec89cf2832f6e5197ce32.tar.xz linux-5c8136fa1af7c0e9b4aec89cf2832f6e5197ce32.zip |
powerpc/mm/nohash: do not flush the entire mm when range is a single page
Most of the time, flush_tlb_range() is called on single pages.
At the time being, flush_tlb_range() inconditionnaly calls
flush_tlb_mm() which flushes at least the entire PID pages and on
older CPUs like 4xx or 8xx it flushes the entire TLB table.
This patch calls flush_tlb_page() instead of flush_tlb_mm() when
the range is a single page.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions