linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] [PATCH 6/8] UML - Kill some useless vmalloc tlb flushing
@ 2005-06-20 18:51 Jeff Dike
  2005-06-20 23:01 ` Blaisorblade
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Dike @ 2005-06-20 18:51 UTC (permalink / raw)
  To: akpm, torvalds; +Cc: linux-kernel, user-mode-linux-devel

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>

Index: linux-2.6.12/arch/um/kernel/skas/tlb.c
===================================================================
--- linux-2.6.12.orig/arch/um/kernel/skas/tlb.c	2005-06-20 11:54:56.000000000 -0400
+++ linux-2.6.12/arch/um/kernel/skas/tlb.c	2005-06-20 12:11:00.000000000 -0400
@@ -76,7 +76,6 @@ void flush_tlb_mm_skas(struct mm_struct 
                 return;
 
         fix_range(mm, 0, host_task_size, 0);
-        flush_tlb_kernel_range_common(start_vm, end_vm);
 }
 
 void force_flush_all_skas(void)



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-20 22:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-20 18:51 [uml-devel] [PATCH 6/8] UML - Kill some useless vmalloc tlb flushing Jeff Dike
2005-06-20 23:01 ` Blaisorblade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox