mm: reclaim for unevictable cma pages [1/1]
authorTao Zeng <tao.zeng@amlogic.com>
Mon, 18 Feb 2019 06:53:09 +0000 (14:53 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Tue, 19 Feb 2019 09:43:23 +0000 (01:43 -0800)
commitffe96a1f0d3d49d8f3d5eb0b8e64b5d8b39247dc
tree449e1e6f4af681c761af299cc4dee94e23ae80ed
parentcc0096d43bacaf266bce236c6bd9b57a0600f6e1
mm: reclaim for unevictable cma pages [1/1]

PD#SWPL-3902

Problem:
If cma page is unevictable, migrate it will cost long time.

Solution:
1. Recalim unevictable cma file cache pages.
2. Using CMA after first water mark not ok.

Verify:
einstern

Change-Id: I0ecbf5dd535cb034430c4ea623891e7a7ae6e4dd
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
drivers/amlogic/memory_ext/aml_cma.c
include/linux/amlogic/aml_cma.h
mm/cma.c
mm/migrate.c
mm/page_alloc.c
mm/vmscan.c