diff options
author | Rafael Aquini <aquini@redhat.com> | 2012-12-12 00:02:42 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-12 01:22:27 (GMT) |
commit | bf6bddf1924eaebf2beb85e4249a89dd16d4eed6 (patch) | |
tree | e03b66a6779727a44f40c4e8f43a06c52d39a6ef /drivers/virtio | |
parent | 18468d93e53b037e1a04ec58398eab763d054064 (diff) | |
download | linux-fsl-qoriq-bf6bddf1924eaebf2beb85e4249a89dd16d4eed6.tar.xz |
mm: introduce compaction and migration for ballooned pages
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 the helper functions as well as the necessary changes
to teach compaction and migration bits how to cope with pages which are
part of a guest memory balloon, in order to make them movable by memory
compaction procedures.
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions