On 2024/1/3 17:35, Chuanhong Guo wrote:
(Adding Felix to CC list.)
Hi!
On Wed, Jan 3, 2024 at 10:34 AM <[email protected]> wrote:
From: Zhuo Fu <[email protected]>
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 <[email protected]>
You also need a sign-off from the original author Zhuo Fu here.
[1] https://git.openwrt.org/5c9cc7b7f8920944a413644e1c2ea23bfe655bcb
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel