All of lore.kernel.org
 help / color / mirror / Atom feed
* PoD, 4.2, and current/maximum reservation
@ 2013-02-11  0:03 James Harper
  2013-02-11 11:13 ` George Dunlap
  0 siblings, 1 reply; 8+ messages in thread
From: James Harper @ 2013-02-11  0:03 UTC (permalink / raw)
  To: xen-devel

A user has pointed out a problem with GPLPV under Xen 4.2 when using PoD. I'm using the difference between XENMEM_maximum_reservation and XENMEM_current_reservation to tell me how much I should balloon down to account for PoD, but when the user has ballooned down to 1G (from 4Gb or 8GB), GPLPV logs the following:

13005008825593: XenPCI     XENMEM_maximum_reservation = 262400
13005008825593: XenPCI     XENMEM_current_reservation = 262136
13005008825609: XenPCI     Trying to give 1056 KB (1 MB) to Xen

What is the correct way to tell how much PoD memory there is under 4.2? Am I doing it wrong?

I balloon down as early as possible (before xenbus starts) to avoid windows going over its limit so I'm hoping I can determine the size of PoD memory just via hypercalls.

Thanks

James

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-02-12 10:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-11  0:03 PoD, 4.2, and current/maximum reservation James Harper
2013-02-11 11:13 ` George Dunlap
2013-02-11 11:39   ` James Harper
2013-02-11 11:40     ` George Dunlap
2013-02-12  9:53       ` Jan Beulich
2013-02-12  9:55         ` James Harper
2013-02-12 10:39         ` Paul Durrant
2013-02-12 10:44           ` James Harper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.