Re: [PATCH v2 1/2] block: add BPF kfuncs to read blkcg io.stat

Tejun Heo <[email protected]>
Newsgroups org.kernel.vger.linux-block,org.kernel.vger.bpf,org.kernel.vger.cgroups,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest
Message-ID <[email protected]>
On Tue, Aug 18, 2026 at 03:31:29PM -0700, Ziyang Men wrote:
> Ok I will add the casts bpf_get_blkcg() and bpf_put_blkcg(), and remove the
> check of css->ss in above functoins.

RCU_PROTECTED is probably better than get/put().

Thanks.

-- 
tejun
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.