[PATCH v2] mem: fix infinite loop

Burakov, Anatoly anatoly.burakov at intel.com
Thu May 8 13:40:18 CEST 2025


On 4/3/2025 4:57 AM, Dengdui Huang wrote:
> When the process address space is insufficient,
> mmap will fail, which will cause an infinite loop.
> This patch stops attempting mmap if it fails and
> the requested size cannot be reduced.
> 
> Fixes: b7cc54187ea4 ("mem: move virtual area function in common directory")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Dengdui Huang <huangdengdui at huawei.com>
> Acked-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
> ---
Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
-- 
Thanks,
Anatoly


More information about the dev mailing list