Re: [PATCH 1/3] powerpc64/bpf: Store temp registers' bpf to ppc mapping

From
Naveen N. Rao <hidden>
Date
2022-01-07 17:14:40
Reply to
Jordan Niethe, 2021-07-27
Jordan Niethe wrote:
In bpf_jit_build_body(), the mapping of TMP_REG_1 and TMP_REG_2's bpf
register to ppc register is evalulated at every use despite not
changing. Instead, determine the ppc register once and store the result.
This will be more useful when a later patch introduces a more complex
mapping from bpf registers to ppc registers.

Signed-off-by: Jordan Niethe <redacted>
---
 arch/powerpc/net/bpf_jit_comp64.c | 163 +++++++++++++-----------------
 1 file changed, 69 insertions(+), 94 deletions(-)
I know this is eons ago and this patch will need updating, but if you intend to revive this:
Acked-by: Naveen N. Rao <redacted>


Thanks,
Naveen
Thread (9 messages) 9 messages, 3 authors, last reply 2022-03-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help