[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c1b71664-91c0-439c-9cae-7407fa5b0358@linux.dev>
Date: Fri, 22 Aug 2025 12:57:20 -0700
From: Martin KaFai Lau <martin.lau@...ux.dev>
To: Roman Gushchin <roman.gushchin@...ux.dev>
Cc: Andrii Nakryiko <andrii.nakryiko@...il.com>, linux-mm@...ck.org,
bpf@...r.kernel.org, Suren Baghdasaryan <surenb@...gle.com>,
Johannes Weiner <hannes@...xchg.org>, Michal Hocko <mhocko@...e.com>,
David Rientjes <rientjes@...gle.com>,
Matt Bobrowski <mattbobrowski@...gle.com>, Song Liu <song@...nel.org>,
Kumar Kartikeya Dwivedi <memxor@...il.com>,
Alexei Starovoitov <ast@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 13/14] sched: psi: implement bpf_psi_create_trigger()
kfunc
On 8/20/25 5:36 PM, Roman Gushchin wrote:
> It will. Idk how big of a problem it is, given that the caller needs
> a trusted reference to bpf_psi. Also, is there a simple way to constrain
> it? Wdyt?
The bpf qdisc has the kfunc filtering. Take a look at the bpf_qdisc_kfunc_filter
in bpf_qdisc.c.
Powered by blists - more mailing lists