]> xenbits.xensource.com Git - people/liuw/linux.git/commitdiff
balloon: BALLOON_COMPACTION now depends on XEN_BALLOON
authorWei Liu <wei.liu2@citrix.com>
Mon, 3 Mar 2014 16:16:35 +0000 (16:16 +0000)
committerWei Liu <wei.liu2@citrix.com>
Wed, 15 Oct 2014 15:07:56 +0000 (16:07 +0100)
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
mm/Kconfig

index 886db2158538572ee52790b31d93b4baeb8b187f..4d30f0b5a946810a3ce20bf68431492bc70370a0 100644 (file)
@@ -232,7 +232,7 @@ config ARCH_ENABLE_SPLIT_PMD_PTLOCK
 config BALLOON_COMPACTION
        bool "Allow for balloon memory compaction/migration"
        def_bool y
-       depends on COMPACTION && VIRTIO_BALLOON
+       depends on COMPACTION && (VIRTIO_BALLOON || XEN_BALLOON)
        help
          Memory fragmentation introduced by ballooning might reduce
          significantly the number of 2MB contiguous memory blocks that can be