Re: [RFC PATCH 0/3] clk: stm32: Add clock driver for STM32F4[23]xxx devices

From: Maxime Coquelin
Date: Tue May 26 2015 - 12:41:16 EST


Hi Daniel,

2015-05-22 22:41 GMT+02:00 Daniel Thompson <daniel.thompson@xxxxxxxxxx>:
> 2. Allocating ~80 clock components appears to fragment memory enough
> to prevent busybox (.text is ~300K, non-XIP) from running getty.
> I have to use "init=/bin/sh" to avoid OOM problems.
>

Yes, I reproduced the same issue while testing your work.

Could you try with:
CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0

It solves (hides) the problem on my side.
You can eventually setting it once booted to 1 via procfs.

Kind regards,
Maxime
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/