]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: speed up flush_tlb_all_local with qemu
authorHelge Deller <deller@gmx.de>
Mon, 12 Aug 2019 17:13:20 +0000 (19:13 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 12 Aug 2019 17:17:40 +0000 (19:17 +0200)
commit66eb70857637164df1972a2ad40485bc476d1dd1
tree72d50c4107f39ee0482ef751c7ce9239a14d6f8d
parent48cb68fde9ec76bf8d86a8f476f72918105672db
parisc: speed up flush_tlb_all_local with qemu

When started in qemu, we know that qemu will drop all local TLB entries
on any pxtlbe instruction. So, if we detect qemu, replace the whole
flush_tlb_all_local function by one pdtlbe instruction.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/pacache.S