public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: Avi Kivity <avi@qumranet.com>,
	Andrea Arcangeli <andrea@qumranet.com>,
	kvm-devel <kvm@vger.kernel.org>
Subject: Re: madvise() not triggering page discard with MMU-notifiers
Date: Tue, 19 Aug 2008 22:16:55 -0300	[thread overview]
Message-ID: <20080820011655.GA11137@dmt.cnet> (raw)
In-Reply-To: <48A9F1E9.6040907@us.ibm.com>

Hi Anthony,

On Mon, Aug 18, 2008 at 05:04:25PM -0500, Anthony Liguori wrote:
> Attached is an updated migration patch.  It does not appear, however,  
> that madvise() is triggering discarding of pages even with an  
> MMU-notifier enabled kernel.  I take it that this is because we're still  
> holding a reference count to the page when it is in the shadow page  
> table?  Any ETA on when this will change?

Shadow references should be dropped via kvm_unmap_rmapp -> rmap_remove. 

So the symptom is that RSS for the task does not decrease accordingly to
the ballooned down size?


  reply	other threads:[~2008-08-20  1:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-18 22:04 madvise() not triggering page discard with MMU-notifiers Anthony Liguori
2008-08-20  1:16 ` Marcelo Tosatti [this message]
2008-08-20 20:38   ` Anthony Liguori
2008-08-28 14:23 ` Andrea Arcangeli
2008-08-28 22:55   ` Anthony Liguori

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=20080820011655.GA11137@dmt.cnet \
    --to=mtosatti@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=andrea@qumranet.com \
    --cc=avi@qumranet.com \
    --cc=kvm@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox