On Tue 27-11-12 16:15:59, David Rientjes wrote: > It's useful to keep memory defragmented so that all high-order page > allocations have a chance to succeed, not simply transparent hugepages. > Thus, allow balloon compaction for any system with memory compaction > enabled, which is the defconfig. > > Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx> Yes, makes sense. Acked-by: Michal Hocko <mhocko@xxxxxxx> Thanks > --- > mm/Kconfig | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/mm/Kconfig b/mm/Kconfig > --- a/mm/Kconfig > +++ b/mm/Kconfig > @@ -200,7 +200,7 @@ config SPLIT_PTLOCK_CPUS > config BALLOON_COMPACTION > bool "Allow for balloon memory compaction/migration" > def_bool y > - depends on TRANSPARENT_HUGEPAGE && VIRTIO_BALLOON > + depends on COMPACTION && VIRTIO_BALLOON > help > Memory fragmentation introduced by ballooning might reduce > significantly the number of 2MB contiguous memory blocks that can be -- Michal Hocko SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>