All of lore.kernel.org
 help / color / mirror / Atom feed
From: Minchan Kim <minchan@kernel.org>
To: Rafael Aquini <aquini@redhat.com>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	virtualization@lists.linux-foundation.org,
	Rusty Russell <rusty@rustcorp.com.au>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	Rik van Riel <riel@redhat.com>, Mel Gorman <mel@csn.ul.ie>,
	Andi Kleen <andi@firstfloor.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: [PATCH v2 0/4] make balloon pages movable by compaction
Date: Fri, 29 Jun 2012 10:37:12 +0900	[thread overview]
Message-ID: <4FED06C8.1090003@kernel.org> (raw)
In-Reply-To: <cover.1340916058.git.aquini@redhat.com>

Hi Rafael,

On 06/29/2012 06:49 AM, Rafael Aquini wrote:

> This patchset follows the main idea discussed at 2012 LSFMMS section:
> "Ballooning for transparent huge pages" -- http://lwn.net/Articles/490114/


Could you summarize the problem, solution instead of link URL in cover-letter?
IIUC, the problem is that it is hard to get contiguous memory in guest-side 
after ballooning happens because guest-side memory could be very fragmented
by ballooned page. It makes THP page allocation of guest-side very poor success ratio.

The solution is that when memory ballooning happens, we allocates ballooned page
as a movable page in guest-side because they can be migrated easily so compaction of
guest-side could put together them into either side so that we can get contiguous memory.
For it, compaction should be aware of ballooned page.

Right?

-- 
Kind regards,
Minchan Kim

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

WARNING: multiple messages have this Message-ID (diff)
From: Minchan Kim <minchan@kernel.org>
To: Rafael Aquini <aquini@redhat.com>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	virtualization@lists.linux-foundation.org,
	Rusty Russell <rusty@rustcorp.com.au>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	Rik van Riel <riel@redhat.com>, Mel Gorman <mel@csn.ul.ie>,
	Andi Kleen <andi@firstfloor.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: [PATCH v2 0/4] make balloon pages movable by compaction
Date: Fri, 29 Jun 2012 10:37:12 +0900	[thread overview]
Message-ID: <4FED06C8.1090003@kernel.org> (raw)
In-Reply-To: <cover.1340916058.git.aquini@redhat.com>

Hi Rafael,

On 06/29/2012 06:49 AM, Rafael Aquini wrote:

> This patchset follows the main idea discussed at 2012 LSFMMS section:
> "Ballooning for transparent huge pages" -- http://lwn.net/Articles/490114/


Could you summarize the problem, solution instead of link URL in cover-letter?
IIUC, the problem is that it is hard to get contiguous memory in guest-side 
after ballooning happens because guest-side memory could be very fragmented
by ballooned page. It makes THP page allocation of guest-side very poor success ratio.

The solution is that when memory ballooning happens, we allocates ballooned page
as a movable page in guest-side because they can be migrated easily so compaction of
guest-side could put together them into either side so that we can get contiguous memory.
For it, compaction should be aware of ballooned page.

Right?

-- 
Kind regards,
Minchan Kim

  parent reply	other threads:[~2012-06-29  1:36 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-28 21:49 [PATCH v2 0/4] make balloon pages movable by compaction Rafael Aquini
2012-06-28 21:49 ` Rafael Aquini
2012-06-28 21:49 ` [PATCH v2 1/4] mm: introduce compaction and migration for virtio ballooned pages Rafael Aquini
2012-06-28 21:49   ` Rafael Aquini
2012-06-28 21:49   ` Rafael Aquini
2012-06-29  5:32   ` Minchan Kim
2012-06-29  5:32   ` Minchan Kim
2012-06-29  5:32     ` Minchan Kim
2012-06-29 17:36     ` Rafael Aquini
2012-06-29 17:36       ` Rafael Aquini
2012-06-29 22:03       ` Minchan Kim
2012-06-29 22:03         ` Minchan Kim
2012-06-30  1:34         ` Rafael Aquini
2012-06-30  1:34         ` Rafael Aquini
2012-06-30  1:34           ` Rafael Aquini
2012-07-01 23:36           ` Minchan Kim
2012-07-01 23:36           ` Minchan Kim
2012-07-01 23:36             ` Minchan Kim
2012-07-03 18:31             ` Rafael Aquini
2012-07-03 18:31             ` Rafael Aquini
2012-07-03 18:31               ` Rafael Aquini
2012-06-29 22:03       ` Minchan Kim
2012-06-29 17:36     ` Rafael Aquini
2012-06-29 15:31   ` Mel Gorman
2012-06-29 15:31     ` Mel Gorman
2012-06-29 17:43     ` Rafael Aquini
2012-06-29 17:43       ` Rafael Aquini
2012-06-29 17:43       ` Rafael Aquini
2012-06-29 15:31   ` Mel Gorman
2012-06-28 21:49 ` [PATCH v2 2/4] virtio_balloon: handle concurrent accesses to virtio_balloon struct elements Rafael Aquini
2012-06-28 21:49   ` Rafael Aquini
2012-06-28 21:49 ` Rafael Aquini
2012-06-28 21:49 ` [PATCH v2 3/4] virtio_balloon: introduce migration primitives to balloon pages Rafael Aquini
2012-06-28 21:49 ` Rafael Aquini
2012-06-28 21:49   ` Rafael Aquini
2012-06-28 21:49 ` [PATCH v2 4/4] mm: add vm event counters for balloon pages compaction Rafael Aquini
2012-06-28 21:49 ` Rafael Aquini
2012-06-28 21:49   ` Rafael Aquini
2012-06-29  1:37 ` Minchan Kim [this message]
2012-06-29  1:37   ` [PATCH v2 0/4] make balloon pages movable by compaction Minchan Kim
2012-06-29  3:51   ` Rafael Aquini
2012-06-29  3:51     ` Rafael Aquini
2012-06-29  3:51   ` Rafael Aquini
2012-06-29  1:37 ` Minchan Kim
2012-06-29  4:31 ` Rusty Russell
2012-06-29  4:31   ` Rusty Russell
2012-06-29 17:46   ` Rafael Aquini
2012-06-29 17:46   ` Rafael Aquini
2012-06-29 17:46     ` Rafael Aquini
2012-06-29  4:31 ` Rusty Russell
  -- strict thread matches above, loose matches on Subject: below --
2012-06-28 21:49 Rafael Aquini

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=4FED06C8.1090003@kernel.org \
    --to=minchan@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=andi@firstfloor.org \
    --cc=aquini@redhat.com \
    --cc=konrad.wilk@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mel@csn.ul.ie \
    --cc=mst@redhat.com \
    --cc=riel@redhat.com \
    --cc=rusty@rustcorp.com.au \
    --cc=virtualization@lists.linux-foundation.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 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.