diff options
author | Tim Deegan <Tim.Deegan@citrix.com> | 2011-06-20 13:16:14 +0100 |
---|---|---|
committer | Tim Deegan <Tim.Deegan@citrix.com> | 2011-06-20 13:16:14 +0100 |
commit | 43d588d6ae73cf75f5f7efa3a98bfa243e7e6424 (patch) | |
tree | beef1568e06e2d0fa6f1da6079b927a58c5becba /tools/xenpaging/xenpaging.h | |
parent | a51d11c6e8fbfe88e54fca90d20cb7e6eea2d896 (diff) | |
download | xen-43d588d6ae73cf75f5f7efa3a98bfa243e7e6424.tar.gz xen-43d588d6ae73cf75f5f7efa3a98bfa243e7e6424.tar.bz2 xen-43d588d6ae73cf75f5f7efa3a98bfa243e7e6424.zip |
x86/mm/shadow: adjust early-unshadow heuristic for PAE guests.
PAE guests have 8-byte PTEs but tend to clear memory with 4-byte writes.
This means that when zeroing a former pagetable every second 4-byte
write is unaligned and so the consecutive-zeroes --> unshadow
heuristic never kicks in. Adjust the heuristic not to reset when
a write is >= 4 bytes and writing zero but not PTE-aligned.
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Diffstat (limited to 'tools/xenpaging/xenpaging.h')
0 files changed, 0 insertions, 0 deletions