]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: introduce a common interface for balloon pages mobility
authorRafael Aquini <aquini@redhat.com>
Thu, 29 Nov 2012 03:17:24 +0000 (14:17 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:09 +0000 (16:23 +1100)
commit9849d335a6566e3e394b08c62f916707792f23f3
treeceb24167f2a4bb43760c99d0172c599eb97002bb
parentd4efcdf7edc93e159904b6cdc22a71e75bbd1393
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>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Rik van Riel <riel@redhat.com>
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]