Re: [PATCH bpf-next 2/5] x86/alternative: introduce text_poke_set

From: Peter Zijlstra
Date: Wed May 18 2022 - 03:46:23 EST


On Wed, May 18, 2022 at 06:58:46AM +0000, Song Liu wrote:
> Hi Peter,
>
> > On May 15, 2022, at 10:40 PM, Song Liu <song@xxxxxxxxxx> wrote:
> >
> > Introduce a memset like API for text_poke. This will be used to fill the
> > unused RX memory with illegal instructions.
> >
> > Suggested-by: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> > Signed-off-by: Song Liu <song@xxxxxxxxxx>
>
> Could you please share your comments on this?

I wrote it; it must be good! What specifically you want to know?