[PATCH] uml: kill some useless vmalloc tlb flushing
authorJeff Dike <jdike@addtoit.com>
Fri, 8 Jul 2005 00:56:00 +0000 (17:56 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:35 +0000 (18:23 -0700)
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>
arch/um/kernel/skas/tlb.c

index b8c5e71763d10888283510d100acd4716e12294b..18f9a7711de1e98f8ca3fb3729652a35c1e7d9d3 100644 (file)
@@ -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)