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] [PATCH] shadow_alloc_p2m_page() should call shadow_prealloc(

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] shadow_alloc_p2m_page() should call shadow_prealloc() before calling shadow_alloc()
From: George Dunlap <dunlapg@xxxxxxxxx>
Date: Thu, 20 Aug 2009 14:11:43 +0100
Delivery-date: Thu, 20 Aug 2009 06:12:04 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=PuXOZKYPCR/GA067eeONTXBcRvR3NJrvNqvEBqG0udk=; b=Gp5PxFSPP4zrO+VZFmsHESQT87bcdMAewJpIQ8fOAlB5ywOH+rEXUsCE4vccOK6WYB P7jPmPXYFqavulWbF5zsZngtwHPFHldrCrdL/cXWeGcJpQhCIOF21xk4D6GAy8oM644I LdgbH+Pv107TT6PQ0FFCJ99n4AVjVyOCD6sCw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=AokQYIe7opDf92v0MWrOfQmEV6NMvkxkEzrCk/wbXU/5KJG4qZM0kc6BvczbcnMhDZ mma2VCmvzKE54eZknUTR4fp0GygIOe159RFyv+0y+4LlzpAYo6gSSfTJprrXHEON+yjn OQrhU05nzHapiLDjFAuNrbmg3DadtUgR0uUW4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
shadow_alloc_p2m_page() fails to call shadow_prealloc() before calling
shadow_alloc().  In certain conditions, notably when PoD is being
exercised, this may cause shadow_alloc() to fail, crashing Xen.

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

Attachment: p2m_alloc_calls_prealloc.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] shadow_alloc_p2m_page() should call shadow_prealloc() before calling shadow_alloc(), George Dunlap <=