From 79f39e0a3c0b2240284dcb296aa1f03cd3034712 Mon Sep 17 00:00:00 2001 From: Ludovic Ronsin Date: Wed, 20 Nov 2013 23:19:11 +0100 Subject: [PATCH] Enable memory compaction support Prevent OOM caused by memory fragmentation --- core/linux-raspberrypi/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/linux-raspberrypi/config b/core/linux-raspberrypi/config index 625ad60cc..29c500304 100644 --- a/core/linux-raspberrypi/config +++ b/core/linux-raspberrypi/config @@ -387,7 +387,7 @@ CONFIG_MEMORY_ISOLATION=y # CONFIG_HAVE_BOOTMEM_INFO_NODE is not set CONFIG_PAGEFLAGS_EXTENDED=y CONFIG_SPLIT_PTLOCK_CPUS=4 -# CONFIG_COMPACTION is not set +CONFIG_COMPACTION=y CONFIG_MIGRATION=y # CONFIG_PHYS_ADDR_T_64BIT is not set CONFIG_ZONE_DMA_FLAG=0