Messages in this thread | | | Date | Fri, 20 May 2022 01:27:38 -1000 | From | Tejun Heo <> | Subject | Re: [PATCH bpf-next v1 3/5] bpf: Introduce cgroup iter |
| |
On Thu, May 19, 2022 at 10:11:26PM -1000, Tejun Heo wrote: > If you *must* do the iterator, can you at least make it a proper iterator > which supports seeking? AFAICS there's nothing fundamentally preventing bpf > iterators from supporting seeking. Or is it that you need something which is > pinned to a cgroup so that you can emulate the directory structure?
Or, alternatively, would it be possible to make a TEST_RUN_PROG to output a text file in bpffs? There just doesn't seem to be anything cgroup specific that the iterator is doing that can't be done with exposing a couple kfuncs.
Thanks.
-- tejun
| |