# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Node ID 64313db770dbcf5ed0ddd25f492ff5ac2ad1a4b6 # Parent 5fcc346d6fe086436977a9b171f2bdb3a177d828 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 diff -r 5fcc346d6fe0 -r 64313db770db xen/arch/ia64/xen/xenmisc.c --- a/xen/arch/ia64/xen/xenmisc.c Thu Jan 26 11:31:28 2006 +0100 +++ b/xen/arch/ia64/xen/xenmisc.c Wed Feb 1 22:54:10 2006 +0900 @@ -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)