Skip to content
Commit 0f1a394b authored by Paul Mundt's avatar Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 1c6b2ca5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment