diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 18:30:07 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 18:30:07 +0900 |
commit | 28ccf7f91b1ac42ee1f18480a69d2a7486b625ce (patch) | |
tree | 456f8287e15c59e8a1f98a49932c4ecf85419227 /arch/sh/lib | |
parent | d15f456043175bdf3464514b92a825b88d0546ae (diff) | |
download | op-kernel-dev-28ccf7f91b1ac42ee1f18480a69d2a7486b625ce.zip op-kernel-dev-28ccf7f91b1ac42ee1f18480a69d2a7486b625ce.tar.gz |
sh: Selective flush_cache_mm() flushing.
flush_cache_mm() wraps in to flush_cache_all(), which is rather
excessive given that the number of PTEs within the specified context
are generally quite low. Optimize for walking the mm's VMA list and
selectively flushing the VMA ranges from the dcache. Invalidate the
icache only if a VMA sets VM_EXEC.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/lib')
0 files changed, 0 insertions, 0 deletions