Skip to content

Commit

Permalink
[PATCH] uml: kill some useless vmalloc tlb flushing
Browse files Browse the repository at this point in the history
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: Jeff Dike <jdike@addtoit.com>
Cc: Paolo Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Jul 8, 2005
1 parent 043d051 commit eda8022
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/um/kernel/skas/tlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ void flush_tlb_mm_skas(struct mm_struct *mm)
return;

fix_range(mm, 0, host_task_size, 0);
flush_tlb_kernel_range_common(start_vm, end_vm);
}

void force_flush_all_skas(void)
Expand Down

0 comments on commit eda8022

Please sign in to comment.