aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/paging.h
diff options
context:
space:
mode:
authorTim Deegan <Tim.Deegan@citrix.com>2011-06-02 13:16:52 +0100
committerTim Deegan <Tim.Deegan@citrix.com>2011-06-02 13:16:52 +0100
commitc859ee4eb9e6eda1d9a6083d063a8134da62cee0 (patch)
treee745726d706248e0a1a7f08d9b64d2b95033ffb1 /xen/include/asm-x86/paging.h
parenteca988de7381e5efe58792dc166611e4523d33b3 (diff)
downloadxen-c859ee4eb9e6eda1d9a6083d063a8134da62cee0.tar.gz
xen-c859ee4eb9e6eda1d9a6083d063a8134da62cee0.tar.bz2
xen-c859ee4eb9e6eda1d9a6083d063a8134da62cee0.zip
x86/mm: simplify log-dirty page allocation.
Now that the log-dirty code is covered by the same lock as shadow and hap activity, we no longer need to avoid doing allocs and frees with the lock held. Simplify the code accordingly. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/paging.h')
-rw-r--r--xen/include/asm-x86/paging.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/include/asm-x86/paging.h b/xen/include/asm-x86/paging.h
index adfec252e7..0a32fe2b4e 100644
--- a/xen/include/asm-x86/paging.h
+++ b/xen/include/asm-x86/paging.h
@@ -164,7 +164,8 @@ void paging_log_dirty_init(struct domain *d,
/* mark a page as dirty */
void paging_mark_dirty(struct domain *d, unsigned long guest_mfn);
-/* is this guest page dirty? */
+/* is this guest page dirty?
+ * This is called from inside paging code, with the paging lock held. */
int paging_mfn_is_dirty(struct domain *d, mfn_t gmfn);
/*