summaryrefslogtreecommitdiffstats
path: root/tools/arch
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@bell.net>2016-12-07 04:02:01 +0100
committerHelge Deller <deller@gmx.de>2016-12-07 09:01:21 +0100
commitfebe42964fe182281859b3d43d844bb25ca49367 (patch)
tree5747f9ba180c5b7f530d0b0ad5b8d3a945004177 /tools/arch
parentparisc: Purge TLB before setting PTE (diff)
downloadlinux-febe42964fe182281859b3d43d844bb25ca49367.tar.xz
linux-febe42964fe182281859b3d43d844bb25ca49367.zip
parisc: Remove unnecessary TLB purges from flush_dcache_page_asm and flush_icache_page_asm
We have four routines in pacache.S that use temporary alias pages: copy_user_page_asm(), clear_user_page_asm(), flush_dcache_page_asm() and flush_icache_page_asm(). copy_user_page_asm() and clear_user_page_asm() don't purge the TLB entry used for the operation. flush_dcache_page_asm() and flush_icache_page_asm do purge the entry. Presumably, this was thought to optimize TLB use. However, the operation is quite heavy weight on PA 1.X processors as we need to take the TLB lock and a TLB broadcast is sent to all processors. This patch removes the purges from flush_dcache_page_asm() and flush_icache_page_asm. Signed-off-by: John David Anglin <dave.anglin@bell.net> Cc: <stable@vger.kernel.org> # v3.16+ Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/arch')
0 files changed, 0 insertions, 0 deletions