From: Yonghong Song <yonghong.song@linux.dev>
To: Feng Yang <yangfeng59949@163.com>,
ast@kernel.org, daniel@iogearbox.net, john.fastabend@gmail.com,
andrii@kernel.org, martin.lau@linux.dev, eddyz87@gmail.com,
song@kernel.org, kpsingh@kernel.org, sdf@fomichev.me,
haoluo@google.com, jolsa@kernel.org
Cc: bpf@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 bpf-next] bpf: Replace kvfree with kfree for kzalloc memory
Date: Tue, 26 Aug 2025 22:00:40 -0700 [thread overview]
Message-ID: <aff0626f-f78a-4231-8d56-a3c9978b6548@linux.dev> (raw)
In-Reply-To: <20250827032812.498216-1-yangfeng59949@163.com>
On 8/26/25 8:28 PM, Feng Yang wrote:
> From: Feng Yang <yangfeng@kylinos.cn>
>
> These pointers are allocated by kzalloc.
> Replace kvfree() with kfree() to avoid unnecessary is_vmalloc_addr()
> check in kvfree().
>
> This is the remaining unmodified part from [1].
>
> [1] https://lore.kernel.org/bpf/20250811123949.552885-1-rongqianfeng@vivo.com.
>
> Signed-off-by: Feng Yang <yangfeng@kylinos.cn>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
next prev parent reply other threads:[~2025-08-27 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-27 3:28 [PATCH v2 bpf-next] bpf: Replace kvfree with kfree for kzalloc memory Feng Yang
2025-08-27 5:00 ` Yonghong Song [this message]
2025-09-02 15:40 ` patchwork-bot+netdevbpf
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=aff0626f-f78a-4231-8d56-a3c9978b6548@linux.dev \
--to=yonghong.song@linux.dev \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=haoluo@google.com \
--cc=john.fastabend@gmail.com \
--cc=jolsa@kernel.org \
--cc=kpsingh@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.lau@linux.dev \
--cc=sdf@fomichev.me \
--cc=song@kernel.org \
--cc=yangfeng59949@163.com \
/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).