Re: [EXT.MSG] Re: [PATCH bpf-next v3 3/4] bpf: Check program recursion per task via bpf_ctx

From: Mike Bazov

Date: Thu Nov 19 2026 - 06:36:48 EST


> Was a limit on chain length considered?

My proposal in the v1 thread had a cap of 8. If it turns out to be
needed, I can add one.

> did you try the array-based approach mentioned and compare perf?

Not measured. I asked in the v2 thread whether it is worth doing.
I can measure an array against it and post the numbers.