Re: [PATCH] xen: handle highmem pages correctly when shrinking adomain

From: Ingo Molnar
Date: Fri Jan 23 2009 - 12:56:46 EST



* Ian Campbell <ian.campbell@xxxxxxxxxx> wrote:

> This commit causes a crash if the page being released is a highmem
> page.
>
> commit 1058a75f07b9bb8323fb5197be5526220f8b75cf
> Author: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
> Date: Thu Jan 22 14:36:08 2009 -0800
>
> xen: actually release memory when shrinking domain
>
> If a page is highmem then there is no need to unmap it.
>
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxx>
> Cc: dan.magenheimer@xxxxxxxxxx <dan.magenheimer@xxxxxxxxxx>
> Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
> Cc: Stable Kernel <stable@xxxxxxxxxx>
> ---
> drivers/xen/balloon.c | 11 +++++++----
> 1 file changed, 7 insertions(+), 4 deletions(-)

Applied to tip/x86/urgent, thanks Ian!

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/