[PATCH] base-files: update min_free_kbytes configuration

Shoudi Li (Stephen) quic_shoudil at quicinc.com
Fri Jan 5 17:00:52 PST 2024



On 2024/1/3 17:35, Chuanhong Guo wrote:
> (Adding Felix to CC list.)
> 
> Hi!
> 
> On Wed, Jan 3, 2024 at 10:34 AM <quic_shoudil at quicinc.com> wrote:
>>
>> From: Zhuo Fu <quic_zfu at quicinc.com>
>>
>> set proper min_free_kbytes for small RAM device to avoid
>> OOM during device boot up.
> 
> Have you checked the original commit message [1] when this min_free limit
> was added?
> Some network drivers allocate memory in atomic context.
> This limit was set to prevent memory allocation failure in these cases.
> 
  We are not clear on the issue case fixed by the original commit, so 
not verify it.we will check if possible to reproduce the issue on our 
device next.

> What devices/scenarios have you tested this change on?
> How did you determine what's the proper value for this property?
> 
   The value is adjusted based on QCOM's MBB (modem based board) kuno 
(sdx35) device, which is low memory configured, OOM issue hit during 
boot up, thus tuned the value to fix this OOM.

>>
>> Signed-off-by: shoudil <quic_shoudil at quicinc.com>
> 
> You also need a sign-off from the original author Zhuo Fu here.
> 
> [1] https://git.openwrt.org/5c9cc7b7f8920944a413644e1c2ea23bfe655bcb



More information about the openwrt-devel mailing list