From: "Alexei Starovoitov" <alexei.starovoitov@gmail.com>
To: "Zheng Shuhao" <viennaoffh@gmail.com>, <bpf@vger.kernel.org>
Cc: <daniel@iogearbox.net>, <andrii@kernel.org>, <eddyz87@gmail.com>,
<memxor@gmail.com>, <martin.lau@linux.dev>, <song@kernel.org>,
<yonghong.song@linux.dev>, <jolsa@kernel.org>,
<emil@etsalapatis.com>, <ihor.solodrai@linux.dev>,
<john.fastabend@gmail.com>,
<syzbot+542d2bc50fc9545a27d6@syzkaller.appspotmail.com>
Subject: Re: [PATCH] bpf: defer reuse of LRU hash elements until after an RCU grace period
Date: Sat, 28 Nov 2026 17:32:42 +0000 [thread overview]
Message-ID: <DN70V8ZRD16P.T4W5ILFX8D9J@gmail.com> (raw)
In-Reply-To: <179587316462.32208.2314387285324230199@gmail.com>
On Sat, Nov 28, 2026 at 05:39 AM Zheng Shuhao <viennaoffh@gmail.com> wrote:
> while BPF helper updates may still fail temporarily. Is there a simpler
> or more appropriate way to keep an LRU element's key stable until
> existing RCU readers have finished? I would appreciate suggestions on
> how to improve this patch.
No. There is nothing to fix.
All htab maps reuse elements without a grace period.
pw-bot: cr
prev parent reply other threads:[~2026-11-28 17:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-28 13:39 [PATCH] bpf: defer reuse of LRU hash elements until after an RCU grace period Zheng Shuhao
2026-11-28 14:24 ` sashiko-bot
2026-11-28 17:32 ` Alexei Starovoitov [this message]
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=DN70V8ZRD16P.T4W5ILFX8D9J@gmail.com \
--to=alexei.starovoitov@gmail.com \
--cc=andrii@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=emil@etsalapatis.com \
--cc=ihor.solodrai@linux.dev \
--cc=john.fastabend@gmail.com \
--cc=jolsa@kernel.org \
--cc=martin.lau@linux.dev \
--cc=memxor@gmail.com \
--cc=song@kernel.org \
--cc=syzbot+542d2bc50fc9545a27d6@syzkaller.appspotmail.com \
--cc=viennaoffh@gmail.com \
--cc=yonghong.song@linux.dev \
/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