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

[Xen-devel] [patch] small fix for memory information

  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Satoshi Uchida" <s-uchida@xxxxxxxxxxxxx>
  • Date: Wed, 8 Mar 2006 11:59:55 +0900
  • Delivery-date: Wed, 08 Mar 2006 03:00:52 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcZCXGCMVubWZTbuRViqRw0ZzLxVAg==


I found small bug of memory information again.
In recent -unstable, memory information in Guest OSs is difference with actual
memory allocation when using extra mem option.
Totalram_pages in Guest OS became amount of memory written mem option.

However, when using -xen0 kernel, this information became correct information.

This cause is that totalram_pages is not updated in init function,
and by handle increase/decrease reservation functions after init function or 
totalram_pages becomes correct value or not.
In because that -xen0 kernel is upload many modules, then above functions is 
But, In -xenU kernel, not.

This patch is to update totalram_pages at also init function.

However, If it is correct that current_pages is equal to totalram_pages,
should it unify these variables?

Thank you,

Attachment: balloon.c.patch
Description: Binary data

Xen-devel mailing list



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