[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86: Move log-dirty-mode assertion to correct place.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1195305085 0 # Node ID d2935f9c217f4fcb6614943e4aca4422a4009a21 # Parent 8e98c3d6a55ff9388b9c76bff977d4ff0bd11e31 x86: Move log-dirty-mode assertion to correct place. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> --- xen/arch/x86/mm/paging.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r 8e98c3d6a55f -r d2935f9c217f xen/arch/x86/mm/paging.c --- a/xen/arch/x86/mm/paging.c Fri Nov 16 20:06:15 2007 +0000 +++ b/xen/arch/x86/mm/paging.c Sat Nov 17 13:11:25 2007 +0000 @@ -269,12 +269,12 @@ void paging_mark_dirty(struct domain *d, gmfn = _mfn(guest_mfn); - ASSERT(mfn_valid(d->arch.paging.log_dirty.top)); - if ( !paging_mode_log_dirty(d) || !mfn_valid(gmfn) ) return; log_dirty_lock(d); + + ASSERT(mfn_valid(d->arch.paging.log_dirty.top)); /* We /really/ mean PFN here, even for non-translated guests. */ pfn = get_gpfn_from_mfn(mfn_x(gmfn)); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |