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

xen-devel

[Top] [All Lists]

RE: [Xen-devel] [patch] PFN_PHYS PAE overflow (fixes bug 242)

To: "Scott Parish" <srparish@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [patch] PFN_PHYS PAE overflow (fixes bug 242)
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: 2005年10月14日 23:55:03 +0100
Delivery-date: 2005年10月14日 22:52:26 +0000
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXQ7b99TKzImb/fSEe5Yb/7btIKRAAJFiUg
Thread-topic: [Xen-devel] [patch] PFN_PHYS PAE overflow (fixes bug 242)
 
> machine_specific_memory_setup() makes the following call to 
> setup e820:
>
> add_memory_region(0, PFN_PHYS(max_pfn), E820_RAM);
>
> Since max_pfn is (rightly) an unsigned long, we overflow for 
> the current definition of PFN_PHYS. Attached is my preferred 
> solution as it will hopefully avoid similar situations that 
> may come up in the future.
Good catch!
Ian
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] [PATCH] Bug #327 xentop/libxenstat vcpu fix , Daniel Stekloff
Next by Date: [Xen-devel] Adaptec 7892 Not Showing , David Wolinsky
Previous by Thread: [Xen-devel] [patch] PFN_PHYS PAE overflow (fixes bug 242) , Scott Parish
Next by Thread: [Xen-devel] I give in , Ted Kaczmarek
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /