Commit eda80228 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

[PATCH] uml: kill some useless vmalloc tlb flushing

There is absolutely no reason to flush the kernel's VM area during a
tlb_flush_mm.

This results in a noticable performance increase in the kernel build
benchmark.
Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Cc: Paolo Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 043d0516
...@@ -76,7 +76,6 @@ void flush_tlb_mm_skas(struct mm_struct *mm) ...@@ -76,7 +76,6 @@ void flush_tlb_mm_skas(struct mm_struct *mm)
return; return;
fix_range(mm, 0, host_task_size, 0); fix_range(mm, 0, host_task_size, 0);
flush_tlb_kernel_range_common(start_vm, end_vm);
} }
void force_flush_all_skas(void) void force_flush_all_skas(void)
......
Markdown is supported
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