Post Syndicated from original https://lwn.net/Articles/937326/
In the first of two combined BPF and filesystem sessions at the
2023 Linux Storage, Filesystem,
Memory-Management and BPF Summit, Hou Tao introduced his BPF iterators
for filesystem information. Iterators for
BPF are a relatively recent addition to the BPF landscape; they help
BPF programs step through kernel data structures in a loop-like manner, but
without running afoul of the BPF verifier, which is notoriously hard to
convince about loops.