diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2007-11-16 18:33:24 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2007-11-16 18:33:24 +0000 |
commit | a36b32e53f7d146757e84587fe70c65c7b0a35fc (patch) | |
tree | fdf33675ccfa394a4043e1ca250498b5c1bd9913 /xen/arch/x86/hvm/rtc.c | |
parent | 503ddff7209dc73c7f0a1a99d59bb22a4f2d0e2f (diff) | |
download | xen-a36b32e53f7d146757e84587fe70c65c7b0a35fc.tar.gz xen-a36b32e53f7d146757e84587fe70c65c7b0a35fc.tar.bz2 xen-a36b32e53f7d146757e84587fe70c65c7b0a35fc.zip |
hvm: make dirty logging stop requiring physical pages of order > 0
This patch re-implements the (x86) hypervisor dirty page log with a
simple four-level radix tree whose nodes are all single pages, thus
making migration require only order-0 pages (where before it required
at least an order-5 page).
Unlike the p2m radix tree implementation, the interior nodes of this
tree are NOT page table nodes. I chose a lazy-allocation and -mapping
approach because most pages are not marked dirty while dirty-logging is
enabled. There are doubtless situations (the 'stream' benchmark, for
example) where a more complex p2m-like approach is faster, but I'm not
sure they're worth the effort.
Signed-off-by: Dave Lively <dlively@virtualiron.com>
Diffstat (limited to 'xen/arch/x86/hvm/rtc.c')
0 files changed, 0 insertions, 0 deletions