mirror of https://github.com/hak5/openwrt.git
kernel: enable memory compaction
Compaction is the only memory management component to form high order (larger physically contiguous) memory blocks reliably. The page allocator relies on compaction heavily and the lack of the feature can lead to unexpected OOM killer invocations for high order memory requests. You shouldn't disable this option unless there really is a strong reason for it. Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>openwrt-19.07
parent
567fe53230
commit
212aa33226
|
@ -18,6 +18,7 @@ CONFIG_ARM_GIC_V2M=y
|
||||||
CONFIG_ARM_GIC_V3=y
|
CONFIG_ARM_GIC_V3=y
|
||||||
CONFIG_ARM_PSCI_FW=y
|
CONFIG_ARM_PSCI_FW=y
|
||||||
# CONFIG_ARM_SP805_WATCHDOG is not set
|
# CONFIG_ARM_SP805_WATCHDOG is not set
|
||||||
|
CONFIG_BALLOON_COMPACTION=y
|
||||||
CONFIG_BLK_MQ_PCI=y
|
CONFIG_BLK_MQ_PCI=y
|
||||||
CONFIG_CLKDEV_LOOKUP=y
|
CONFIG_CLKDEV_LOOKUP=y
|
||||||
CONFIG_CLKSRC_OF=y
|
CONFIG_CLKSRC_OF=y
|
||||||
|
|
|
@ -69,7 +69,6 @@ CONFIG_CMA_AREAS=7
|
||||||
CONFIG_CMDLINE="console=ttyS0,115200 initrd=0x21100000,25165824 root=/dev/ram0 rw"
|
CONFIG_CMDLINE="console=ttyS0,115200 initrd=0x21100000,25165824 root=/dev/ram0 rw"
|
||||||
CONFIG_COMMON_CLK=y
|
CONFIG_COMMON_CLK=y
|
||||||
CONFIG_COMMON_CLK_AT91=y
|
CONFIG_COMMON_CLK_AT91=y
|
||||||
CONFIG_COMPACTION=y
|
|
||||||
CONFIG_COMPAT_BRK=y
|
CONFIG_COMPAT_BRK=y
|
||||||
CONFIG_CONFIGFS_FS=y
|
CONFIG_CONFIGFS_FS=y
|
||||||
CONFIG_CONSOLE_TRANSLATIONS=y
|
CONFIG_CONSOLE_TRANSLATIONS=y
|
||||||
|
|
|
@ -654,7 +654,7 @@ CONFIG_CMDLINE=""
|
||||||
# CONFIG_COMMON_CLK_QCOM is not set
|
# CONFIG_COMMON_CLK_QCOM is not set
|
||||||
# CONFIG_COMMON_CLK_SI5351 is not set
|
# CONFIG_COMMON_CLK_SI5351 is not set
|
||||||
# CONFIG_COMMON_CLK_SI570 is not set
|
# CONFIG_COMMON_CLK_SI570 is not set
|
||||||
# CONFIG_COMPACTION is not set
|
CONFIG_COMPACTION=y
|
||||||
# CONFIG_COMPAL_LAPTOP is not set
|
# CONFIG_COMPAL_LAPTOP is not set
|
||||||
# CONFIG_COMPAT_BRK is not set
|
# CONFIG_COMPAT_BRK is not set
|
||||||
# CONFIG_COMPILE_TEST is not set
|
# CONFIG_COMPILE_TEST is not set
|
||||||
|
|
|
@ -811,7 +811,7 @@ CONFIG_CMDLINE=""
|
||||||
# CONFIG_COMMON_CLK_VERSATILE is not set
|
# CONFIG_COMMON_CLK_VERSATILE is not set
|
||||||
# CONFIG_COMMON_CLK_XGENE is not set
|
# CONFIG_COMMON_CLK_XGENE is not set
|
||||||
# CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set
|
# CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set
|
||||||
# CONFIG_COMPACTION is not set
|
CONFIG_COMPACTION=y
|
||||||
# CONFIG_COMPAL_LAPTOP is not set
|
# CONFIG_COMPAL_LAPTOP is not set
|
||||||
# CONFIG_COMPAT_BRK is not set
|
# CONFIG_COMPAT_BRK is not set
|
||||||
# CONFIG_COMPILE_TEST is not set
|
# CONFIG_COMPILE_TEST is not set
|
||||||
|
|
|
@ -764,7 +764,7 @@ CONFIG_CMDLINE=""
|
||||||
# CONFIG_COMMON_CLK_SI5351 is not set
|
# CONFIG_COMMON_CLK_SI5351 is not set
|
||||||
# CONFIG_COMMON_CLK_SI570 is not set
|
# CONFIG_COMMON_CLK_SI570 is not set
|
||||||
# CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set
|
# CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set
|
||||||
# CONFIG_COMPACTION is not set
|
CONFIG_COMPACTION=y
|
||||||
# CONFIG_COMPAL_LAPTOP is not set
|
# CONFIG_COMPAL_LAPTOP is not set
|
||||||
# CONFIG_COMPAT_BRK is not set
|
# CONFIG_COMPAT_BRK is not set
|
||||||
# CONFIG_COMPILE_TEST is not set
|
# CONFIG_COMPILE_TEST is not set
|
||||||
|
|
|
@ -146,7 +146,6 @@ CONFIG_COMMON_CLK_MAX77686=y
|
||||||
# CONFIG_COMMON_CLK_PALMAS is not set
|
# CONFIG_COMMON_CLK_PALMAS is not set
|
||||||
# CONFIG_COMMON_CLK_RK808 is not set
|
# CONFIG_COMMON_CLK_RK808 is not set
|
||||||
# CONFIG_COMMON_CLK_S2MPS11 is not set
|
# CONFIG_COMMON_CLK_S2MPS11 is not set
|
||||||
CONFIG_COMPACTION=y
|
|
||||||
CONFIG_COMPAT_BRK=y
|
CONFIG_COMPAT_BRK=y
|
||||||
CONFIG_CONFIGFS_FS=y
|
CONFIG_CONFIGFS_FS=y
|
||||||
CONFIG_CONSOLE_TRANSLATIONS=y
|
CONFIG_CONSOLE_TRANSLATIONS=y
|
||||||
|
|
|
@ -185,7 +185,6 @@ CONFIG_COMMON_CLK_MAX77686=y
|
||||||
# CONFIG_COMMON_CLK_PALMAS is not set
|
# CONFIG_COMMON_CLK_PALMAS is not set
|
||||||
# CONFIG_COMMON_CLK_RK808 is not set
|
# CONFIG_COMMON_CLK_RK808 is not set
|
||||||
# CONFIG_COMMON_CLK_S2MPS11 is not set
|
# CONFIG_COMMON_CLK_S2MPS11 is not set
|
||||||
CONFIG_COMPACTION=y
|
|
||||||
CONFIG_COMPAT_BRK=y
|
CONFIG_COMPAT_BRK=y
|
||||||
CONFIG_CONFIGFS_FS=y
|
CONFIG_CONFIGFS_FS=y
|
||||||
CONFIG_CONSOLE_TRANSLATIONS=y
|
CONFIG_CONSOLE_TRANSLATIONS=y
|
||||||
|
|
|
@ -205,7 +205,6 @@ CONFIG_COMMON_CLK_RK808=y
|
||||||
CONFIG_COMMON_CLK_S2MPS11=y
|
CONFIG_COMMON_CLK_S2MPS11=y
|
||||||
CONFIG_COMMON_CLK_VERSATILE=y
|
CONFIG_COMMON_CLK_VERSATILE=y
|
||||||
CONFIG_COMMON_CLK_XGENE=y
|
CONFIG_COMMON_CLK_XGENE=y
|
||||||
CONFIG_COMPACTION=y
|
|
||||||
CONFIG_COMPAT=y
|
CONFIG_COMPAT=y
|
||||||
CONFIG_COMPAT_BINFMT_ELF=y
|
CONFIG_COMPAT_BINFMT_ELF=y
|
||||||
CONFIG_COMPAT_NETLINK_MESSAGES=y
|
CONFIG_COMPAT_NETLINK_MESSAGES=y
|
||||||
|
|
|
@ -76,7 +76,6 @@ CONFIG_COMMON_CLK_MT2701_VDECSYS=y
|
||||||
# CONFIG_COMMON_CLK_MT7622 is not set
|
# CONFIG_COMMON_CLK_MT7622 is not set
|
||||||
# CONFIG_COMMON_CLK_MT8135 is not set
|
# CONFIG_COMMON_CLK_MT8135 is not set
|
||||||
# CONFIG_COMMON_CLK_MT8173 is not set
|
# CONFIG_COMMON_CLK_MT8173 is not set
|
||||||
CONFIG_COMPACTION=y
|
|
||||||
CONFIG_COREDUMP=y
|
CONFIG_COREDUMP=y
|
||||||
# CONFIG_CPUFREQ_DT is not set
|
# CONFIG_CPUFREQ_DT is not set
|
||||||
CONFIG_CPU_32v6K=y
|
CONFIG_CPU_32v6K=y
|
||||||
|
|
|
@ -120,7 +120,6 @@ CONFIG_COMMON_CLK=y
|
||||||
CONFIG_COMMON_CLK_CS2000_CP=y
|
CONFIG_COMMON_CLK_CS2000_CP=y
|
||||||
# CONFIG_COMMON_CLK_VERSATILE is not set
|
# CONFIG_COMMON_CLK_VERSATILE is not set
|
||||||
CONFIG_COMMON_CLK_XGENE=y
|
CONFIG_COMMON_CLK_XGENE=y
|
||||||
CONFIG_COMPACTION=y
|
|
||||||
CONFIG_COMPAT=y
|
CONFIG_COMPAT=y
|
||||||
CONFIG_COMPAT_BINFMT_ELF=y
|
CONFIG_COMPAT_BINFMT_ELF=y
|
||||||
CONFIG_COMPAT_NETLINK_MESSAGES=y
|
CONFIG_COMPAT_NETLINK_MESSAGES=y
|
||||||
|
|
|
@ -70,7 +70,6 @@ CONFIG_CMA_SIZE_SEL_MBYTES=y
|
||||||
CONFIG_CMDLINE_PARTITION=y
|
CONFIG_CMDLINE_PARTITION=y
|
||||||
CONFIG_COMMON_CLK=y
|
CONFIG_COMMON_CLK=y
|
||||||
CONFIG_COMMON_CLK_OXNAS=y
|
CONFIG_COMMON_CLK_OXNAS=y
|
||||||
CONFIG_COMPACTION=y
|
|
||||||
CONFIG_COMPAT_BRK=y
|
CONFIG_COMPAT_BRK=y
|
||||||
CONFIG_CONSOLE_TRANSLATIONS=y
|
CONFIG_CONSOLE_TRANSLATIONS=y
|
||||||
CONFIG_CONTEXT_SWITCH_TRACER=y
|
CONFIG_CONTEXT_SWITCH_TRACER=y
|
||||||
|
|
|
@ -59,7 +59,6 @@ CONFIG_CLKSRC_SAMSUNG_PWM=y
|
||||||
CONFIG_CLONE_BACKWARDS=y
|
CONFIG_CLONE_BACKWARDS=y
|
||||||
CONFIG_COMMON_CLK=y
|
CONFIG_COMMON_CLK=y
|
||||||
CONFIG_COMMON_CLK_SAMSUNG=y
|
CONFIG_COMMON_CLK_SAMSUNG=y
|
||||||
CONFIG_COMPACTION=y
|
|
||||||
CONFIG_COMPAT_BRK=y
|
CONFIG_COMPAT_BRK=y
|
||||||
CONFIG_CONSOLE_TRANSLATIONS=y
|
CONFIG_CONSOLE_TRANSLATIONS=y
|
||||||
CONFIG_COREDUMP=y
|
CONFIG_COREDUMP=y
|
||||||
|
|
|
@ -76,7 +76,6 @@ CONFIG_CLKDEV_LOOKUP=y
|
||||||
CONFIG_CLKSRC_MMIO=y
|
CONFIG_CLKSRC_MMIO=y
|
||||||
CONFIG_CLONE_BACKWARDS=y
|
CONFIG_CLONE_BACKWARDS=y
|
||||||
CONFIG_COMMON_CLK=y
|
CONFIG_COMMON_CLK=y
|
||||||
CONFIG_COMPACTION=y
|
|
||||||
CONFIG_CONFIGFS_FS=y
|
CONFIG_CONFIGFS_FS=y
|
||||||
CONFIG_CONNECTOR=y
|
CONFIG_CONNECTOR=y
|
||||||
CONFIG_CONSOLE_TRANSLATIONS=y
|
CONFIG_CONSOLE_TRANSLATIONS=y
|
||||||
|
|
|
@ -49,6 +49,7 @@ CONFIG_AUDIT_ARCH=y
|
||||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||||
CONFIG_BACKLIGHT_GENERIC=y
|
CONFIG_BACKLIGHT_GENERIC=y
|
||||||
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||||
|
CONFIG_BALLOON_COMPACTION=y
|
||||||
CONFIG_BLK_DEV_INTEGRITY=y
|
CONFIG_BLK_DEV_INTEGRITY=y
|
||||||
CONFIG_BLK_MQ_VIRTIO=y
|
CONFIG_BLK_MQ_VIRTIO=y
|
||||||
# CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set
|
# CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set
|
||||||
|
|
|
@ -47,6 +47,7 @@ CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
|
||||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||||
CONFIG_BACKLIGHT_GENERIC=y
|
CONFIG_BACKLIGHT_GENERIC=y
|
||||||
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||||
|
CONFIG_BALLOON_COMPACTION=y
|
||||||
CONFIG_BLK_DEV_SR=y
|
CONFIG_BLK_DEV_SR=y
|
||||||
# CONFIG_BLK_DEV_SR_VENDOR is not set
|
# CONFIG_BLK_DEV_SR_VENDOR is not set
|
||||||
CONFIG_BLK_MQ_VIRTIO=y
|
CONFIG_BLK_MQ_VIRTIO=y
|
||||||
|
|
Loading…
Reference in New Issue