Re: [PATCH v2] powerpc/bpf: populate extable entries only during the last pass

2023-07-02 Thread Michael Ellerman
On Tue, 25 Apr 2023 12:28:29 +0530, Hari Bathini wrote: > Since commit 85e031154c7c ("powerpc/bpf: Perform complete extra passes > to update addresses"), two additional passes are performed to avoid > space and CPU time wastage on powerpc. But these extra passes led to > WARN_ON_ONCE() hits in bpf_

Re: [PATCH v2] powerpc/bpf: populate extable entries only during the last pass

2023-04-25 Thread Naveen N. Rao
Hari Bathini wrote: Since commit 85e031154c7c ("powerpc/bpf: Perform complete extra passes to update addresses"), two additional passes are performed to avoid space and CPU time wastage on powerpc. But these extra passes led to WARN_ON_ONCE() hits in bpf_add_extable_entry() as extable entries are