]> 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)
commit7390f08c24883795d4439e7f9eae357de918a0c9
tree78bddd4e10be8b09a0a0703129ff112e8ee012f4
parenteff94ec1ddea37ef423c4551bccaa4ba3fdc8b62
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