linux/arch/mips/include
Paul Burton 67741ba3ba
MIPS: mm: Avoid HTW stop/start when dropping an inactive mm
If drop_mmu_context() is called with an mm that is not currently active
on the local CPU then there's no need for us to stop & start a hardware
page table walker because it can't be fetching entries for the ASID
corresponding to the mm we're operating on.

Move the htw_stop() & htw_start() calls into the block which we run only
if the mm is currently active, in order to avoid the redundant work.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
2019-02-04 10:56:16 -08:00
..
asm MIPS: mm: Avoid HTW stop/start when dropping an inactive mm 2019-02-04 10:56:16 -08:00
uapi/asm arch: remove redundant UAPI generic-y defines 2019-01-06 10:22:15 +09:00