[Lguest] [PATCH v2 2/3] lguest: Physical Address Extension support

Rusty Russell rusty at rustcorp.com.au
Mon Oct 20 14:44:36 EST 2008


On Monday 29 September 2008 14:40:07 Matias Zabaljauregui wrote:
> This patch adds Physical Address Extension support to lguest.

And this was basically flawless.  Nice work!

>  	if (!(pgd_flags(gpgd) & _PAGE_PRESENT))
>  		return 0;
>
>  	/* Now look at the matching shadow entry. */
>  	spgd = spgd_addr(cpu, cpu->cpu_pgd, vaddr);
> +
>  	if (!(pgd_flags(*spgd) & _PAGE_PRESENT)) {
>  		/* No shadow entry: allocate a new shadow PTE page. */
>  		unsigned long ptepage = get_zeroed_page(GFP_KERNEL);

I did remove this whitespace change noise.

Thanks,
Rusty.



More information about the Lguest mailing list