WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [PATCH] xen: handle highmem pages correctly when shrinki

To: Ian Campbell <ian.campbell@xxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH] xen: handle highmem pages correctly when shrinking a domain
From: Ingo Molnar <mingo@xxxxxxx>
Date: Fri, 23 Jan 2009 18:56:14 +0100
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "dan.magenheimer@xxxxxxxxxx" <dan.magenheimer@xxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Stable Kernel <stable@xxxxxxxxxx>
Delivery-date: Fri, 23 Jan 2009 09:57:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <70c0102ea4c18ecab426.1232727981@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <70c0102ea4c18ecab426.1232727981@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
* 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>