[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bochs-cvs
Subject:    [Bochs-cvs] [13529] trunk/bochs/cpu/paging.cc
From:       sshwarts--- via Bochs-cvs <bochs-cvs () lists ! sourceforge ! net>
Date:       2018-08-30 20:18:28
Message-ID: 1535660309.230561.11596 () sfp-scm-5 ! v30 ! lw ! sourceforge ! com
[Download RAW message or body]

Revision: 13529
Author:   sshwarts
Date:     2018-08-30 20:18:27 +0000 (Thu, 30 Aug 2018)
Log Message:
-----------
closing bug report: Missing TLB_flush on VMX_VMEXIT_EPT_VIOLATION

Modified Paths:
--------------
    trunk/bochs/cpu/paging.cc

Modified: trunk/bochs/cpu/paging.cc
===================================================================
--- trunk/bochs/cpu/paging.cc	2018-08-26 18:11:10 UTC (rev 13528)
+++ trunk/bochs/cpu/paging.cc	2018-08-30 20:18:27 UTC (rev 13529)
@@ -1204,6 +1204,10 @@
     // in our TLB cache entry.  Re-walk the page tables, in case there is
     // updated information in the memory image, and let the long path code
     // generate an exception if one is warranted.
+
+    // Invalidate the TLB entry before re-walk as re-walk may end with paging fault.
+    // The entry will be reinitialized later if page walk succeeds.
+    tlbEntry->invalidate();
   }
 
   INC_TLB_STAT(tlbMisses);


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bochs-cvs mailing list
Bochs-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bochs-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic