Re: [PATCH] xen: pin correct PGD on suspend

From: Ingo Molnar
Date: Sun Nov 23 2008 - 07:33:20 EST



* Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

> Ian Campbell wrote:
>> commit eefb47f6a1e855653d275cb90592a3587ea93a09 ("xen: use
>> spin_lock_nest_lock when pinning a pagetable") changed xen_pgd_walk to
>> walk over mm->pgd rather than taking pgd as an argument.
>>
>> This breaks xen_mm_(un)pin_all() because it makes init_mm.pgd readonly
>> instead of the pgd we are interested in and therefore the pin subsequently
>> fails.
>>
>
> Oh, yeah, that was a bit dense. This is needed for .28.
>
> Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>

applied to tip/x86/urgent, thanks guys!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/