Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LnvBi-0006ul-LW for qemu-devel@nongnu.org; Sun, 29 Mar 2009 09:36:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LnvBi-0006uL-0J for qemu-devel@nongnu.org; Sun, 29 Mar 2009 09:36:34 -0400 Received: from [199.232.76.173] (port=36883 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LnvBh-0006uH-LS for qemu-devel@nongnu.org; Sun, 29 Mar 2009 09:36:33 -0400 Received: from savannah.gnu.org ([199.232.41.3]:60823 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LnvBh-0008Ik-E1 for qemu-devel@nongnu.org; Sun, 29 Mar 2009 09:36:33 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1LnvBh-0004F9-18 for qemu-devel@nongnu.org; Sun, 29 Mar 2009 13:36:33 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1LnvBg-0004F4-Ny for qemu-devel@nongnu.org; Sun, 29 Mar 2009 13:36:32 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Sun, 29 Mar 2009 13:36:32 +0000 Subject: [Qemu-devel] [6947] target-ppc: Explain why the whole TLB is flushed on SR write Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 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;