]> git.baikalelectronics.ru Git - kernel.git/commit
x86/alternative: Introduce text_poke_copy
authorSong Liu <song@kernel.org>
Fri, 4 Feb 2022 18:57:38 +0000 (10:57 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 8 Feb 2022 02:13:01 +0000 (18:13 -0800)
commit117047c678b5326d7b0a93a7ffe8d47510959e61
tree1454520f94a7d83492bc05abda857a7a01a36550
parenteca7d748f347a92524e3256e8c4258dbce6ecdd1
x86/alternative: Introduce text_poke_copy

This will be used by BPF jit compiler to dump JITed binary to a RX huge
page, and thus allow multiple BPF programs sharing the a huge (2MB) page.

Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/bpf/20220204185742.271030-6-song@kernel.org
arch/x86/include/asm/text-patching.h
arch/x86/kernel/alternative.c