[PATCH v2] mem: fix infinite loop

David Marchand david.marchand at redhat.com
Wed Jun 4 18:03:31 CEST 2025


On Thu, Apr 3, 2025 at 4:57 AM Dengdui Huang <huangdengdui at huawei.com> 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>

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list