diff options
author | Björn Töpel <bjorn.topel@gmail.com> | 2019-12-16 12:13:36 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-12-19 18:03:30 +0300 |
commit | 7d1ef13fea2b66bb466592a7855b33181c85ec5f (patch) | |
tree | 3f9ede09afc50ed161f939f27bab5e54a607779e /scripts/atomic | |
parent | f1003b787c00fbaa4b11619c6b23a885bfce8f07 (diff) | |
download | linux-7d1ef13fea2b66bb466592a7855b33181c85ec5f.tar.xz |
riscv, bpf: Add support for far branching
This commit adds branch relaxation to the BPF JIT, and with that
support for far (offset greater than 12b) branching.
The branch relaxation requires more than two passes to converge. For
most programs it is three passes, but for larger programs it can be
more.
Signed-off-by: Björn Töpel <bjorn.topel@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Luke Nelson <lukenels@cs.washington.edu>
Link: https://lore.kernel.org/bpf/20191216091343.23260-3-bjorn.topel@gmail.com
Diffstat (limited to 'scripts/atomic')
0 files changed, 0 insertions, 0 deletions