All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mick Jordan <Mick.Jordan@sun.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: xen-devel-list <xen-devel@lists.xensource.com>
Subject: Re: memory_reservation bug?: memory holes
Date: Wed, 11 Mar 2009 12:50:33 -0700	[thread overview]
Message-ID: <49B81609.8070305@Sun.COM> (raw)
In-Reply-To: <C5DDAE97.4D02%keir.fraser@eu.citrix.com>

On 03/11/09 11:08, Keir Fraser wrote:
>
> Just because you called decrease_reservation() doesn't mean the pages
> necessarily really got freed. If you still have mappings to them squirrelled
> away then the free can be deferred.
>   
A related question. I assume it is ok to have holes in the physical 
memory, i.e. call decrease_reservation with a range << max_pfn. In this 
case, what are the rules for the value in the P2M table? Does Xen zero 
out the slot or is it the guest's responsibility?  save/restore must be 
able to determine that a hole exists.

Mick

  parent reply	other threads:[~2009-03-11 19:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-11 17:32 memory_reservation bug? Mick Jordan
2009-03-11 18:08 ` Keir Fraser
2009-03-11 19:34   ` Mick Jordan
2009-03-11 19:50   ` Mick Jordan [this message]
2009-03-11 22:41     ` memory_reservation bug?: memory holes Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49B81609.8070305@Sun.COM \
    --to=mick.jordan@sun.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.