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: Xenheap issue on 32b

To: "Wang, Shane" <shane.wang@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: Xenheap issue on 32b
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 28 Jan 2010 18:47:05 +0000
Cc: "Cihula, Joseph" <joseph.cihula@xxxxxxxxx>, "Hao, Xudong" <xudong.hao@xxxxxxxxx>
Delivery-date: Thu, 28 Jan 2010 10:47:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6CADD16F56BC954D8E28F3836FA7ED71179323EE71@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqgLHlBPjFa2NrMQzO7aYaNfricRQAAcscgAAcBN+A=
Thread-topic: Xenheap issue on 32b
User-agent: Microsoft-Entourage/12.23.0.091001
In init_Xenheap_pages(), try placing the call to memguard_guard_range()
*after* the adjustments to ps and pe (i.e., immediately before the call to
init_heap_pages()). I reckon that simple change should work for you.

 -- Keir

On 28/01/2010 15:29, "Wang, Shane" <shane.wang@xxxxxxxxx> wrote:

> Hi Keir,
> 
> The issue causes page fault when the MACing code tries to access the page and
> hang.
> I suggest to initialize that page (I think it is in use because of dirty
> content) as unused, or xenheap_phys_end minus one page.
> 
> Which one do you prefer?
> 
> Thanks.
> Shane
> 
> Wang, Shane wrote:
>> 
>> OK, now the page 0xbff000 is xenheap according to is_xen_heap_page(),
>> and it is used according to is_page_in_use(), but it is not mapped.
>> The issue happens.
>> 
>> Comment?
>> 
>> Thanks.
>> Shane
> 
> 



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

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