From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CQJAv-000567-TR for qemu-devel@nongnu.org; Sat, 06 Nov 2004 00:31:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CQJAu-000551-MQ for qemu-devel@nongnu.org; Sat, 06 Nov 2004 00:31:44 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQJAu-00054Y-Gm for qemu-devel@nongnu.org; Sat, 06 Nov 2004 00:31:44 -0500 Received: from [128.111.151.217] (helo=veidt.umail.ucsb.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CQJ1n-0006VY-Va for qemu-devel@nongnu.org; Sat, 06 Nov 2004 00:22:20 -0500 Received: from rains.umail.ucsb.edu ([128.111.151.216] helo=localhost) by veidt.umail.ucsb.edu with esmtp (Exim 4.34) id 1CQJ1m-000JN1-Uh for qemu-devel@nongnu.org; Fri, 05 Nov 2004 21:22:18 -0800 Message-ID: <1099718538.418c5f8acea12@webaccess.umail.ucsb.edu> Date: Fri, 5 Nov 2004 21:22:18 -0800 From: Ye Wen MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] Question about softmmu 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 Hi, Guys: I'm reading the QEMU code. I have a question haunting my mind for some time 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 code that when CR3 is changed, the tb_flush is called. What if the CR3 does not change, but some level 2 page table in the memory change, should the tb also be flushed? Thanks, -- Ye Wen wen@umail.ucsb.edu