]> err.no Git - linux-2.6/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)
commit0f1a394ba68c4bbdedb1dbfdf6784ba54c07bbe4
treeef68075d7d43e8f458bf653f072ae2f8cc0bcbd1
parent1c6b2ca5e0939bf8b5d1a11f1646f25189ecd447
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