Re: [PATCH bpf-next] bpf: Don't use rcu_users to refcount in task kfuncs

From: patchwork-bot+netdevbpf
Date: Tue Dec 06 2022 - 19:50:23 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Tue, 6 Dec 2022 15:05:38 -0600 you wrote:
> A series of prior patches added some kfuncs that allow struct
> task_struct * objects to be used as kptrs. These kfuncs leveraged the
> 'refcount_t rcu_users' field of the task for performing refcounting.
> This field was used instead of 'refcount_t usage', as we wanted to
> leverage the safety provided by RCU for ensuring a task's lifetime.
>
> A struct task_struct is refcounted by two different refcount_t fields:
>
> [...]

Here is the summary with links:
- [bpf-next] bpf: Don't use rcu_users to refcount in task kfuncs
https://git.kernel.org/bpf/bpf-next/c/156ed20d22ee

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html