From: David Marchand <david.marchand@redhat.com>
To: Dengdui Huang <huangdengdui@huawei.com>
Cc: dev@dpdk.org, fengchengwen@huawei.com, lihuisong@huawei.com,
haijie1@huawei.com, liuyonglong@huawei.com,
roretzla@linux.microsoft.com, anatoly.burakov@intel.com,
stephen@networkplumber.org, mb@smartsharesystems.com,
dmitry.kozliuk@gmail.com
Subject: Re: [PATCH v2] mem: fix infinite loop
Date: Wed, 4 Jun 2025 18:03:31 +0200 [thread overview]
Message-ID: <CAJFAV8xu7i7O3U3mQS3+2=kQYh2j2fvLcZNZ6U19_=YtPA2+3Q@mail.gmail.com> (raw)
In-Reply-To: <20250403025736.135846-1-huangdengdui@huawei.com>
On Thu, Apr 3, 2025 at 4:57 AM Dengdui Huang <huangdengdui@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@dpdk.org
>
> Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
> Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Applied, thanks.
--
David Marchand
next prev parent reply other threads:[~2025-06-04 16:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-02 12:42 [PATCH] " Dengdui Huang
2025-04-02 21:16 ` Dmitry Kozlyuk
2025-04-03 1:25 ` huangdengdui
2025-04-03 2:57 ` [PATCH v2] " Dengdui Huang
2025-05-08 11:40 ` Burakov, Anatoly
2025-06-04 16:03 ` David Marchand [this message]
2025-05-12 3:36 ` [PATCH] " lihuisong (C)
2025-04-03 2:54 [PATCH v2] " Dengdui Huang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJFAV8xu7i7O3U3mQS3+2=kQYh2j2fvLcZNZ6U19_=YtPA2+3Q@mail.gmail.com' \
--to=david.marchand@redhat.com \
--cc=anatoly.burakov@intel.com \
--cc=dev@dpdk.org \
--cc=dmitry.kozliuk@gmail.com \
--cc=fengchengwen@huawei.com \
--cc=haijie1@huawei.com \
--cc=huangdengdui@huawei.com \
--cc=lihuisong@huawei.com \
--cc=liuyonglong@huawei.com \
--cc=mb@smartsharesystems.com \
--cc=roretzla@linux.microsoft.com \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).