]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: introduce a common interface for balloon pages mobility
authorRafael Aquini <aquini@redhat.com>
Fri, 9 Nov 2012 03:04:30 +0000 (14:04 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Nov 2012 05:15:37 +0000 (16:15 +1100)
commitbdaa2e230c9b89d3daf3c600eced71be2fff8215
treeb47cc7160b9aad485543b1883dc8d3f616b35360
parent61c76db3917b0f14a30f291a8d5f059b3c0f61a6
mm: introduce a common interface for balloon pages mobility

Memory fragmentation introduced by ballooning might reduce significantly
the number of 2MB contiguous memory blocks that can be used within a
guest, thus imposing performance penalties associated with the reduced
number of transparent huge pages that could be used by the guest workload.

This patch introduces a common interface to help a balloon driver on
making its page set movable to compaction, and thus allowing the system to
better leverage the compation efforts on memory defragmentation.

Signed-off-by: Rafael Aquini <aquini@redhat.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/balloon_compaction.h [new file with mode: 0644]
include/linux/migrate.h
include/linux/pagemap.h
mm/Kconfig
mm/Makefile
mm/balloon_compaction.c [new file with mode: 0644]