Re: [PATCH v2] mem: fix infinite loop

2025-05-08 Thread Burakov, Anatoly
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 dire

[PATCH v2] mem: fix infinite loop

2025-04-04 Thread Dengdui Huang
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: sta...@dpdk.org Signed-off-by:

[PATCH v2] mem: fix infinite loop

2025-04-02 Thread Dengdui Huang
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: sta...@dpdk.org Signed-off-by: