[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] fix rounding issue in init_boot_pages


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Matt Chapman <matthewc@xxxxxx>
  • Date: Wed, 18 May 2005 15:54:36 -0600
  • Delivery-date: Wed, 18 May 2005 21:54:04 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

The following patch fixes an issue in init_boot_pages that
we hit on certain ia64 machines.  If the supplied range lies
within a single page, pe - ps becomes negative, because pe
is rounded downwards and ps upwards.

(One alternative might be to mandate that callers of
init_boot_pages pass page-aligned addresses, but in that
case the rounding done in this function is redundant.)

Signed-off-by: Matthew Chapman <matthewc@xxxxxx>

Thanks,
Matt

Attachment: page_alloc.diff
Description: Text document

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.