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

Re: [PATCH RFC] x86+libxl: correct p2m (shadow) memory pool size calculation



On 22.04.22 12:57, Jan Beulich wrote:
The reference "to shadow the resident processes" is applicable to
domains (potentially) running in shadow mode only. Adjust the
calculations accordingly.

In dom0_paging_pages() also take the opportunity and stop open-coding
DIV_ROUND_UP().

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---
RFC: I'm pretty sure I can't change a public libxl function (deprecated
      or not) like this, but I also don't know how I should go about
      doing so (short of introducing a brand new function and leaving the
      existing one broken).

I'd modify the deprecated function to use the worst case scenario and
use a new function internally.


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


 


Rackspace

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