From: patchwork-bot+netdevbpf@kernel.org
To: Dave Marchevsky <davemarchevsky@fb.com>
Cc: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net,
andrii@kernel.org, kernel-team@fb.com, memxor@gmail.com,
joannelkoong@gmail.com, kafai@fb.com
Subject: Re: [RESEND PATCH v2 bpf-next] bpf: Cleanup check_refcount_ok
Date: Tue, 09 Aug 2022 16:50:13 +0000 [thread overview]
Message-ID: <166006381399.15335.6790319554919261050.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20220808171559.3251090-1-davemarchevsky@fb.com>
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:
On Mon, 8 Aug 2022 10:15:59 -0700 you wrote:
> Discussion around a recently-submitted patch provided historical
> context for check_refcount_ok [0]. Specifically, the function and its
> helpers - may_be_acquire_function and arg_type_may_be_refcounted -
> predate the OBJ_RELEASE type flag and the addition of many more helpers
> with acquire/release semantics.
>
> The purpose of check_refcount_ok is to ensure:
> 1) Helper doesn't have multiple uses of return reg's ref_obj_id
> 2) Helper with release semantics only has one arg needing to be
> released, since that's tracked using meta->ref_obj_id
>
> [...]
Here is the summary with links:
- [RESEND,v2,bpf-next] bpf: Cleanup check_refcount_ok
https://git.kernel.org/bpf/bpf-next/c/b2d8ef19c6e7
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:[~2022-08-09 16:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-08 17:15 [RESEND PATCH v2 bpf-next] bpf: Cleanup check_refcount_ok Dave Marchevsky
2022-08-08 18:53 ` Kumar Kartikeya Dwivedi
2022-08-09 16:50 ` 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=166006381399.15335.6790319554919261050.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=davemarchevsky@fb.com \
--cc=joannelkoong@gmail.com \
--cc=kafai@fb.com \
--cc=kernel-team@fb.com \
--cc=memxor@gmail.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