]> git.baikalelectronics.ru Git - kernel.git/commit
sh: lockless UTLB miss fast-path.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 19 Nov 2007 04:05:18 +0000 (13:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 19 Nov 2007 04:05:18 +0000 (13:05 +0900)
commit649a51d664fb9767e3e6d431012bf7394635c23f
treeef68075d7d43e8f458bf653f072ae2f8cc0bcbd1
parentaebacb978454ea6ca29906a146b91c22ee51c156
sh: lockless UTLB miss fast-path.

With the refactored update_mmu_cache() introduced in older kernels,
there's no longer any need to take the page_table_lock in this path,
so simply drop it completely.

Without this, performance degradation is seen on SMP on heavily
threaded workloads that don't use the split ptlock, and ultimately
we have no reason to contend for the lock in the first place.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/fault.c