lkml.org 
[lkml]   [2022]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH bpf v2 0/3] bpf: invalidate unused part of bpf_prog_pack
Date
Hi Linus,

> On Apr 25, 2022, at 1:39 PM, Song Liu <song@kernel.org> wrote:
>
> Note: while prefixed with "bpf", this set is based on Linus' master branch.
>
> This is v2 of [1]. It is revised based on Peter's feedback. The patch is
> also split into 3.
>
> [1] https://lore.kernel.org/linux-mm/20220421072212.608884-1-song@kernel.org/

Could you please share your suggestions on this set? Shall we ship it
with 5.18?

Thanks,
Song

>
> Song Liu (3):
> bpf: fill new bpf_prog_pack with illegal instructions
> x86/alternative: introduce text_poke_set
> bpf: introduce bpf_arch_text_invalidate for bpf_prog_pack
>
> arch/x86/include/asm/text-patching.h | 1 +
> arch/x86/kernel/alternative.c | 70 ++++++++++++++++++++++++----
> arch/x86/net/bpf_jit_comp.c | 5 ++
> include/linux/bpf.h | 1 +
> kernel/bpf/core.c | 18 +++++--
> 5 files changed, 81 insertions(+), 14 deletions(-)
>
> --
> 2.30.2

\
 
 \ /
  Last update: 2022-04-28 00:12    [W:0.101 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site