]> 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>
Mon, 12 Nov 2012 04:17:11 +0000 (15:17 +1100)
commitaedced45a121862f4f857d37f330b14b82cabcb4
treedde2217b74497bfa081b547dbdb50de634010534
parent30a1af5cc3d6e2cf948def8b65ec692a6a4899c0
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]