JLT and JLE
Jul 15, 2025
Here is an interesting question.
Why BPF JLT and JLE instructions
were not introduced in the beginning?
Classic BPF did not have them
and BPF authors felt compiler
workaround would be acceptable.
Turned out that programs
lose performance due to lack
of these compare instructions.
These two instructions is a
perfect example what kind of new
BPF instructions are acceptable
and can be added in the future.