lkml.org 
[lkml]   [2015]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 0/3] clk: stm32: Add clock driver for STM32F4[23]xxx devices
On 26/05/15 17:41, Maxime Coquelin wrote:
>> 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.

That works for me too. Thanks.

Incidentally switching to SLOB also reduced the problem for me. It was
OK whilst I had ~20 clocks (and debugfs) but not enough for me to run
with all the clocks registered.


Daniel.





\
 
 \ /
  Last update: 2015-05-27 11:01    [W:0.099 / U:0.456 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site