|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86 shadow: Re-init per-page spinlock bef
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1216203906 -3600
# Node ID 0796aa57d297ec3434605850f024422bd58637d6
# Parent 3fe6df9afd5d42e655f0fa9ff009372fd8efa84d
x86 shadow: Re-init per-page spinlock before freeing p2m pages.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
xen/arch/x86/mm/shadow/common.c | 3 +++
1 files changed, 3 insertions(+)
diff -r 3fe6df9afd5d -r 0796aa57d297 xen/arch/x86/mm/shadow/common.c
--- a/xen/arch/x86/mm/shadow/common.c Wed Jul 16 11:16:48 2008 +0100
+++ b/xen/arch/x86/mm/shadow/common.c Wed Jul 16 11:25:06 2008 +0100
@@ -1676,6 +1676,9 @@ shadow_free_p2m_page(struct domain *d, s
/* Free should not decrement domain's total allocation, since
* these pages were allocated without an owner. */
page_set_owner(pg, NULL);
+#if defined(__x86_64__)
+ spin_lock_init(&pg->lock);
+#endif
free_domheap_pages(pg, 0);
d->arch.paging.shadow.p2m_pages--;
perfc_decr(shadow_alloc_count);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86 shadow: Re-init per-page spinlock before freeing p2m pages.,
Xen patchbot-unstable <=
|
|
|
|
|