mm: fix lowmem issue
authortao zeng <tao.zeng@amlogic.com>
Thu, 21 Dec 2017 10:07:37 +0000 (18:07 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 29 Dec 2017 03:20:30 +0000 (20:20 -0700)
commit4f40b91e060c9c7af0d3c0f232c198f9243e5f3b
tree51395b10ea3a28e6bd876210957b81d90af119e1
parentfc9f2af9203eaf41a1fadcdd58c48d7d6c76b91e
mm: fix lowmem issue

PD#157252: mm: fix lowmem issue

1. add statistics for CMA pages;
2. reduce cma print and not protect cma unless driver called;
3. fix cma usage policy in alloc path;
4. increase file scan ratio in kswapd;
5. using NOOP for default IO-scheduler;
6. change alloc flags of ZRAM to retry harder.

Change-Id: If7b0363da03da1682efe3996c69bb9d511299209
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
12 files changed:
arch/arm/configs/meson32_defconfig
arch/arm64/boot/dts/amlogic/gxl_p241_1g.dts
arch/arm64/boot/dts/amlogic/gxl_p241_1g_buildroot.dts
arch/arm64/boot/dts/amlogic/gxl_p241_v2-1g.dts
arch/arm64/boot/dts/amlogic/gxl_p241_v2_1g_buildroot.dts
arch/arm64/configs/meson64_defconfig
arch/arm64/configs/meson64_smarthome_defconfig
drivers/block/zram/zram_drv.c
include/linux/mm_inline.h
mm/cma.c
mm/page_alloc.c
mm/vmscan.c