]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Move trampoline JIT image allocation to a function
authorBjörn Töpel <bjorn.topel@intel.com>
Fri, 13 Dec 2019 17:51:07 +0000 (18:51 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 13 Dec 2019 21:09:32 +0000 (13:09 -0800)
commitac1e0880dfbe742746fc2dd2e5491ea433ac1002
tree78bddd4e10be8b09a0a0703129ff112e8ee012f4
parent3e0fc8ae7cc63d112ceb17a92e560f0f00ef616a
bpf: Move trampoline JIT image allocation to a function

Refactor the image allocation in the BPF trampoline code into a
separate function, so it can be shared with the BPF dispatcher in
upcoming commits.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191213175112.30208-2-bjorn.topel@gmail.com
include/linux/bpf.h
kernel/bpf/trampoline.c