KVM: PPC: Book3S HV: Reduce default CMA pool size

We have observed that on machines with all their memory in a single
node, it is possible to hit an out of memory situation where kernel
allocations (which can't use the CMA pool) fail, triggering the OOM
killer, yet reclaim doesn't start because there is still free memory
in the CMA pool.  To alleviate this situation somewhat, this reduces
the default CMA pool size from 5% to 3% of system memory.  The 3%
should still be enough in most situations, and if not, the user can
specify a different amount on the kernel command line.

This should help with BZ 110181.

Signed-off-by: Paul Mackerras <paulus@samba.org>
1 file changed