MIPS: Fold the TLB refill at the vmalloc path if possible.
authorDavid Daney <ddaney@caviumnetworks.com>
Wed, 20 May 2009 18:40:59 +0000 (11:40 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 17 Jun 2009 10:06:26 +0000 (11:06 +0100)
commit95affdda9bfba0ac17025d48c622e1f30964e316
tree18a3551d8882b07da35922d77d4bee7f3b16365e
parente6f72d3abafd50984decc2833c706e717f5ba04e
MIPS: Fold the TLB refill at the vmalloc path if possible.

Try to fold the 64-bit TLB refill handler opportunistically at the
beginning of the vmalloc path so as to avoid splitting execution flow in
half and wasting cycles for a branch required at that point then.  Resort
to doing the split if either of the newly created parts would not fit into
its designated slot.

Original-patch-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/tlbex.c