[PATCH 1/1] bpf: avoid unnecessary IPI in bpf_flush_icache

Will Deacon will at kernel.org
Tue Jun 1 10:41:15 PDT 2021


On Tue, Jun 01, 2021 at 07:20:04PM +0200, Daniel Borkmann wrote:
> On 6/1/21 5:06 PM, Yanfei Xu wrote:
> > It's no need to trigger IPI for keeping pipeline fresh in bpf case.
> 
> This needs a more concrete explanation/analysis on "why it is safe" to do so
> rather than just saying that it is not needed.

Agreed. You need to show how the executing thread ends up going through a
context synchronizing operation before jumping to the generated code if
the IPI here is removed.

Will



More information about the linux-arm-kernel mailing list