aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2019-11-14 10:57:02 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2019-11-15 23:41:06 +0100
commit3b2744e665206ea82ce7673cb3ec889b2898a267 (patch)
treec8addb85c766659e36da4ef6fe2566430c057256 /kernel
parentx86/alternatives: Teach text_poke_bp() to emulate instructions (diff)
downloadlinux-dev-3b2744e665206ea82ce7673cb3ec889b2898a267.tar.xz
linux-dev-3b2744e665206ea82ce7673cb3ec889b2898a267.zip
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')
0 files changed, 0 insertions, 0 deletions