From: "Alexei Starovoitov" <alexei.starovoitov@gmail.com>
To: <anhnh.4work@gmail.com>, "Daniel Borkmann" <daniel@iogearbox.net>,
"Andrii Nakryiko" <andrii@kernel.org>
Cc: "John Fastabend" <john.fastabend@gmail.com>,
"Eduard Zingerman" <eddyz87@gmail.com>,
"Kumar Kartikeya Dwivedi" <memxor@gmail.com>,
"Martin KaFai Lau" <martin.lau@linux.dev>,
"Song Liu" <song@kernel.org>,
"Yonghong Song" <yonghong.song@linux.dev>,
"Jiri Olsa" <jolsa@kernel.org>,
"Emil Tsalapatis" <emil@etsalapatis.com>,
"Ihor Solodrai" <ihor.solodrai@linux.dev>,
"Barret Rhoden" <brho@google.com>, <bpf@vger.kernel.org>
Subject: Re: [PATCH bpf] bpf: Drop the write-active count when a writable arena mapping closes
Date: Wed, 02 Dec 2026 13:30:13 +0000 [thread overview]
Message-ID: <DNAA7RLT27AR.KPCWOLENYXM0@gmail.com> (raw)
In-Reply-To: <20261202-kbug-l1940-v1-1-1900cafbae10@gmail.com>
On Tue, Dec 01, 2026 at 11:00 PM Anh Nguyen Hoang via B4 Relay <devnull+anhnh.4work.gmail.com@kernel.org> wrote:
> As a result, once an arena was mmap()ed with PROT_WRITE, map->writecnt
> stays elevated after munmap() and BPF_MAP_FREEZE on that arena fails
> with -EBUSY for the rest of the map's lifetime.
The count is off, but nothing is broken.
The freeze has no meaning for an arena.
pw-bot: cr
prev parent reply other threads:[~2026-12-02 13:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 7:00 [PATCH bpf] bpf: Drop the write-active count when a writable arena mapping closes Anh Nguyen Hoang via B4 Relay
2026-12-02 13:30 ` 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=DNAA7RLT27AR.KPCWOLENYXM0@gmail.com \
--to=alexei.starovoitov@gmail.com \
--cc=andrii@kernel.org \
--cc=anhnh.4work@gmail.com \
--cc=bpf@vger.kernel.org \
--cc=brho@google.com \
--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=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