[PATCH] base-files: update min_free_kbytes configuration

Chuanhong Guo gch981213 at gmail.com
Wed Jan 3 01:35:30 PST 2024


(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.

What devices/scenarios have you tested this change on?
How did you determine what's the proper value for this property?

>
> 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
-- 
Regards,
Chuanhong Guo



More information about the openwrt-devel mailing list