Re: [PATCHSET SLOP RFC 1/6] bpf: Support __arena suffix for kfunc arguments

From: Tejun Heo

Date: Mon Jul 13 2026 - 15:38:37 EST


On __arena kfunc args relying on the guard region:

This is the arena direct-access contract: the callee dereferences arena
memory directly and the guard absorbs overshoot, like any arena access.
Both kfuncs here read small fixed objects well inside the guard. If we
ever pass objects larger than the guard, the fix is to grow the guard,
not to bounds-check individual kfuncs.

v2: no code change.

Thanks.