mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-02-11 11:34:39 +00:00
low memory killer has problem to judge the current free pages in system. It gets total reclaimable anon cache and free pages as it's judging data. But on our platforms, we have DMA zone there, and normal process can not allocate memory from DMA. So here, just remove the DMA's free/anon pages from this data. Let low memory killer works well. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>