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: [email protected]

Signed-off-by: Dengdui Huang <[email protected]>
Acked-by: Dmitry Kozlyuk <[email protected]>
---
Acked-by: Anatoly Burakov <[email protected]>
--
Thanks,
Anatoly

Reply via email to