|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [IA64] zero clear page for pgd, pmd, pte.
# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 7b2399cb65081895440b0a53e972d632cebb2ef2
# Parent 9eb9fa8a9933721dc42fe547d9c681a5142b5eaa
[IA64] zero clear page for pgd, pmd, pte.
xen heap page are not always zero cleared, so that explicit zeroing
is needed.
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
diff -r 9eb9fa8a9933 -r 7b2399cb6508 xen/arch/ia64/xen/xenmisc.c
--- a/xen/arch/ia64/xen/xenmisc.c Thu Feb 9 20:35:11 2006
+++ b/xen/arch/ia64/xen/xenmisc.c Thu Feb 9 20:43:39 2006
@@ -168,7 +168,11 @@
void *pgtable_quicklist_alloc(void)
{
- return alloc_xenheap_pages(0);
+ void *p;
+ p = alloc_xenheap_pages(0);
+ if (p)
+ clear_page(p);
+ return p;
}
void pgtable_quicklist_free(void *pgtable_entry)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [IA64] zero clear page for pgd, pmd, pte.,
Xen patchbot -unstable <=
|
|
|
|
|