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

Re: [Xen-devel] [PATCH]: Fix mem= kernel parameter

  • To: Chris Lalancette <clalance@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxxxxxxxx>
  • Date: Tue, 22 May 2007 17:17:24 +0100
  • Delivery-date: Tue, 22 May 2007 09:15:59 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcecjK577Rdv2Qh/Edy3pQAX8io7RQ==
  • Thread-topic: [Xen-devel] [PATCH]: Fix mem= kernel parameter

We used to support this properly but it must have got dropped during some
kernel upgrade. Thanks for adding it back in.

 -- Keir

On 22/5/07 15:25, "Chris Lalancette" <clalance@xxxxxxxxxx> wrote:

> The third case is the one that is currently broken.   Looking at the code
> above,
> you can see that the array allocated for the p2m table is too small in that
> case, and during the subsequent memcpy() can cause a page fault and then an
> OOPs.  The attached patch handles the third case by decreasing the
> reservation,
> and only copying the appropriate number of entries into the p2m table.

Xen-devel mailing list



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