Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CQbR7-0000fG-5o for qemu-devel@nongnu.org; Sat, 06 Nov 2004 20:01:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CQbR6-0000es-Ev for qemu-devel@nongnu.org; Sat, 06 Nov 2004 20:01:40 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQbR6-0000eb-4S for qemu-devel@nongnu.org; Sat, 06 Nov 2004 20:01:40 -0500 Received: from [193.49.184.8] (helo=mailx.u-picardie.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CQbHq-0000Ql-0l for qemu-devel@nongnu.org; Sat, 06 Nov 2004 19:52:06 -0500 Received: from localhost (localhost [127.0.0.1]) by mailx.u-picardie.fr (Postfix) with ESMTP id 0EC2798920 for ; Sun, 7 Nov 2004 01:52:03 +0100 (CET) Message-ID: <1099788719.418d71af8a4f1@webmail.u-picardie.fr> Date: Sun, 7 Nov 2004 01:51:59 +0100 From: olivier cozette Subject: Re: [Qemu-devel] Question about softmmu MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 Hello, >I'm reading the QEMU code. I have a question haunting my mind for some t= ime >about tb flushing due to MMU change. Generally, whenever the page table = has >any change, we should flush the tb hash table. But I only see in the cod= e that >when CR3 is changed, the tb_flush is called. What if the CR3 does not ch= ange, >but some level 2 page table in the memory change, should the tb also be >flushed? In this case, in the real processor (see Intel Manual), the processor TLB= s (it's like the Qemu tb) are not flushed, so Qemu act as a real processor. Olivier