On 2025/4/3 5:16, Dmitry Kozlyuk wrote:
> 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: sta...@dpdk.org
>>
>> Signed-off-by: Dengdui Huang <huangdeng...@huawei.com>
> 
> Acked-by: Dmitry Kozlyuk <dmitry.kozl...@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")
> 

It would be better to write the commit log like this, and I'll modify it in v2.

Reply via email to