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

Re: [Xen-devel] [patch] nr_pfns miscalculated


On 12 May 2005, at 14:58, Christian Limpach wrote:

On Thu, May 12, 2005 at 02:58:10PM +0100, Keir Fraser wrote:

On 12 May 2005, at 14:45, Christian Limpach wrote:

Looks to me like the current code tries to handle the case where an
e820 entry starts not on a page boundary -- not sure this is needed...

It's probably rounding the wrong way: should consider only pages
completely covered by the e820 range.

At least the current code is consistent.

    christian

Actually it's deciding what should be marked as 'I/O memory'. The current code includes fractional pages -- since such pages are never registered with the RAM allocator, this policy doesn't seem harmful.

 -- Keir


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

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