Re: [Xen-devel] 2.6.27 - SMP enabled, but only 1 CPU

From: Jan Beulich
Date: Fri Nov 07 2008 - 04:53:32 EST


>>> Ingo Molnar <mingo@xxxxxxx> 06.11.08 23:20 >>>
>
>* Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
>
>> Ingo Molnar wrote:
>>> where exactly is that use? My grep didnt show any users of pud_page().
>>> pud_page() was changed in an incompatible way, all users of it must be
>>> updated.
>>>
>>
>> pgd_page() uses it in pgtable-nopud.h, so any users of pgd_page()
>> also need to be looked at. It so happens the only user is
>> arch/x86/xen/mmu.c, which expects it to return the vaddr. Fixed
>> below.
>
>ah! asm-generic was missed by my grep. (and i suspect Jan missed it
>too)

Indeed - broken as it was I never even considered this could be used
somewhere in generic code.

>> Subject: xen: fix use of pgd_page now that it really does return a page
>
>applied to tip/x86/urgent, thanks!

And my thanks, too, Jeremy, for the quick spotting of the problem.

Jan

--
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/