diff options
author | Alexei Starovoitov | 2019-11-14 10:57:02 -0800 |
---|---|---|
committer | Daniel Borkmann | 2019-11-15 23:41:06 +0100 |
commit | 3b2744e665206ea82ce7673cb3ec889b2898a267 (patch) | |
tree | c8addb85c766659e36da4ef6fe2566430c057256 /kernel/bpf | |
parent | c3d6324f841bab2403be6419986e2b1d1068d423 (diff) |
bpf: Refactor x86 JIT into helpers
Refactor x86 JITing of LDX, STX, CALL instructions into separate helper
functions. No functional changes in LDX and STX helpers. There is a minor
change in CALL helper. It will populate target address correctly on the first
pass of JIT instead of second pass. That won't reduce total number of JIT
passes though.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20191114185720.1641606-3-ast@kernel.org
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions