[PATCH] mem: fix infinite loop

Dmitry Kozlyuk dmitry.kozliuk at gmail.com
Wed Apr 2 23:16:15 CEST 2025


On 02.04.2025 15:42, Dengdui Huang wrote:
> When the process address space is insufficient,
> mmap will fail, which will cause an infinite loop.
> This pathc fix it.
>
> Fixes: c4b89ecb64ea ("eal: introduce memory management wrappers")
> Cc: stable at dpdk.org
>
> Signed-off-by: Dengdui Huang <huangdengdui at huawei.com>

Acked-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>

Typo: "pathc fix" -> "patch fixes", or, better:
"This patch stops attempting mmap if it fails and the requested size 
cannot be reduced."

The bug is actually older, but it doesn't matter since both c4b89ecb64ea 
and b7cc54187ea4 belong to all LTS:

Fixes: b7cc54187ea4 ("mem: move virtual area function in common directory")



More information about the dev mailing list