qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [6947] target-ppc: Explain why the whole TLB is flushed on


From: Aurelien Jarno
Subject: [Qemu-devel] [6947] target-ppc: Explain why the whole TLB is flushed on SR write
Date: Sun, 29 Mar 2009 13:36:32 +0000

Revision: 6947
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6947
Author:   aurel32
Date:     2009-03-29 13:36:32 +0000 (Sun, 29 Mar 2009)
Log Message:
-----------
target-ppc: Explain why the whole TLB is flushed on SR write

Signed-off-by: Aurelien Jarno <address@hidden>

Modified Paths:
--------------
    trunk/target-ppc/helper.c

Modified: trunk/target-ppc/helper.c
===================================================================
--- trunk/target-ppc/helper.c   2009-03-29 10:50:43 UTC (rev 6946)
+++ trunk/target-ppc/helper.c   2009-03-29 13:36:32 UTC (rev 6947)
@@ -2009,6 +2009,8 @@
 #endif
     if (env->sr[srnum] != value) {
         env->sr[srnum] = value;
+/* Invalidating 256MB of virtual memory in 4kB pages is way longer than
+   flusing the whole TLB. */
 #if !defined(FLUSH_ALL_TLBS) && 0
         {
             target_ulong page, end;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]