Skip to content

MIPS: Cleanup and optimize tlbex.c

David Daney linux-mips 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2MIPS: Replace some magic numbers with symbolic values in tlbex.carch/mips/mm/tlbex.c+26 -81 reply
1/2MIPS: Replace some magic numbers with symbolic values in tlbex.c (v2)arch/mips/mm/tlbex.c+26 -80 replies
2/2MIPS: Don't branch to eret in TLB refill.arch/mips/mm/tlbex.c+40 -260 replies
2/2MIPS: Replace some magic numbers with symbolic values in tlbex.c (v2)arch/mips/mm/tlbex.c+26 -81 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchPaul Gortmaker
1/2R-b R-b
1/2R-b R-b
2/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] MIPS: Cleanup and optimize tlbex.c

The main motivation for this patch set is to optimize the tlb refill handler in the case where it would be split on an eret instruction. However, it was brought to my attention that the existing code was a bit cryptic, so I start by trying to clean up the existing code before patching it.

The first patch should be purely cosmetic, and the second adds the optimization.

I will reply with the two patches.

David Daney (2):
MIPS: Replace some magic numbers with symbolic values in tlbex.c
MIPS: Don't branch to eret in TLB refill.

arch/mips/mm/tlbex.c | 80 +++++++++++++++++++++++++++++++++++---------------

1 files changed, 56 insertions(+), 24 deletions(-)