From: patchwork-bot+netdevbpf@kernel.org
To: Daniel Borkmann <daniel@iogearbox.net>
Cc: ast@kernel.org, bpf@vger.kernel.org, billy@starlabs.sg,
ramdhan@starlabs.sg, andrii@kernel.org
Subject: Re: [PATCH bpf v3 1/2] bpf: Fix overrunning reservations in ringbuf
Date: Fri, 21 Jun 2024 20:10:31 +0000 [thread overview]
Message-ID: <171900063146.4429.1561366582593435770.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20240621140828.18238-1-daniel@iogearbox.net>
Hello:
This series was applied to bpf/bpf.git (master)
by Andrii Nakryiko <andrii@kernel.org>:
On Fri, 21 Jun 2024 16:08:27 +0200 you wrote:
> The BPF ring buffer internally is implemented as a power-of-2 sized circular
> buffer, with two logical and ever-increasing counters: consumer_pos is the
> consumer counter to show which logical position the consumer consumed the
> data, and producer_pos which is the producer counter denoting the amount of
> data reserved by all producers.
>
> Each time a record is reserved, the producer that "owns" the record will
> successfully advance producer counter. In user space each time a record is
> read, the consumer of the data advanced the consumer counter once it finished
> processing. Both counters are stored in separate pages so that from user
> space, the producer counter is read-only and the consumer counter is read-write.
>
> [...]
Here is the summary with links:
- [bpf,v3,1/2] bpf: Fix overrunning reservations in ringbuf
https://git.kernel.org/bpf/bpf/c/cfa1a2329a69
- [bpf,v3,2/2] selftests/bpf: Add more ring buffer test coverage
https://git.kernel.org/bpf/bpf/c/1d68f685a850
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2024-06-21 20:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-21 14:08 [PATCH bpf v3 1/2] bpf: Fix overrunning reservations in ringbuf Daniel Borkmann
2024-06-21 14:08 ` [PATCH bpf v3 2/2] selftests/bpf: Add more ring buffer test coverage Daniel Borkmann
2024-06-21 20:04 ` [PATCH bpf v3 1/2] bpf: Fix overrunning reservations in ringbuf Andrii Nakryiko
2024-06-21 20:10 ` patchwork-bot+netdevbpf [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=171900063146.4429.1561366582593435770.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=billy@starlabs.sg \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=ramdhan@starlabs.sg \
/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