summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/elf.h
diff options
context:
space:
mode:
authorPaul Mundt2006-09-27 11:30:07 +0200
committerPaul Mundt2006-09-27 11:30:07 +0200
commit28ccf7f91b1ac42ee1f18480a69d2a7486b625ce (patch)
tree456f8287e15c59e8a1f98a49932c4ecf85419227 /include/asm-sh/elf.h
parentsh: More intelligent entry_mask/way_size calculation. (diff)
downloadkernel-qcow2-linux-28ccf7f91b1ac42ee1f18480a69d2a7486b625ce.tar.gz
kernel-qcow2-linux-28ccf7f91b1ac42ee1f18480a69d2a7486b625ce.tar.xz
kernel-qcow2-linux-28ccf7f91b1ac42ee1f18480a69d2a7486b625ce.zip
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 'include/asm-sh/elf.h')
0 files changed, 0 insertions, 0 deletions