[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87h5xvxru3.fsf@linux.dev>
Date: Mon, 25 Aug 2025 09:56:52 -0700
From: Roman Gushchin <roman.gushchin@...ux.dev>
To: Martin KaFai Lau <martin.lau@...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
Martin KaFai Lau <martin.lau@...ux.dev> writes:
> 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.
Thanks! I'll take a look.
Powered by blists - more mailing lists