asamy / ksm

A fast, hackable and simple x64 VT-x hypervisor for Windows and Linux. Builtin userspace sandbox and introspection engine.
https://asamy.github.io/ksm/
GNU General Public License v2.0
826 stars 181 forks source link

EPT Page Merging #16

Open asamy opened 7 years ago

asamy commented 7 years ago

Since we use multiple EPT pointers, in most cases a lot of entries will be redundant (i.e. they map same page), so we can optimize memory footprint by merging them together across EPTPs, then we can split the entries when the mapping has changed for one or more EPTP.