All of lore.kernel.org
 help / color / mirror / Atom feed
From: Glauber de Oliveira Costa <gcosta@redhat.com>
To: Rik van Riel <riel@redhat.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] make ballooning up to maxmem work
Date: Wed, 22 Nov 2006 08:40:22 -0200	[thread overview]
Message-ID: <20061122104021.GA2496@redhat.com> (raw)
In-Reply-To: <456368E5.70906@redhat.com>

  
>      case XENMEM_current_reservation:
>      case XENMEM_maximum_reservation:
> +    case XENMEM_maximum_memory:
>          if ( copy_from_guest(&domid, arg, 1) )
>              return -EFAULT;

This still makes use of d->max_pages in return. Isn't it supposed to
change in the future too? IIRC, according to Keir, max_pages will track 
the _current_ number of pages, differing from tot_pages only in a brief
timeframe in which you balloon, but tot_pages was not yet updated.


-- 
Glauber de Oliveira Costa
Red Hat Inc.
"Free as in Freedom"

  reply	other threads:[~2006-11-22 10:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-21 21:00 [PATCH] make ballooning up to maxmem work Rik van Riel
2006-11-22 10:40 ` Glauber de Oliveira Costa [this message]
2006-11-22 11:18   ` Keir Fraser
2006-11-22 12:47     ` Glauber de Oliveira Costa

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=20061122104021.GA2496@redhat.com \
    --to=gcosta@redhat.com \
    --cc=riel@redhat.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.