4.1.28 is broken due to "mm/swap.c: flush lru pvecs on compound page arrival"

From: Mikulas Patocka
Date: Sat Jul 16 2016 - 10:46:29 EST


The patch c5ad33184354260be6d05de57e46a5498692f6d6 on the kernel v4.1.28
breaks the kernel. The kernel crashes when executing the boot scripts with
"kernel panic: Out of memory and no killable processes...". The machine
has 512MB ram and 1 core.

Note that the upstream kernel 4.7-rc4 with this patch works, but when the
patch is backported to the 4.1 branch, it makes the system unbootable.