powerpc/8xx: make user addr DTLB miss the short path
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 16 Sep 2016 06:42:08 +0000 (08:42 +0200)
committerScott Wood <oss@buserror.net>
Sun, 25 Sep 2016 07:38:57 +0000 (02:38 -0500)
commit36eb1542fc97c3164a08751b97dafdac0f9e1366
tree5d5e1f9ed80ecde278250ded9faafbf87a0e6bdd
parent73a532061c65f4e15a3aa7d75fde81203749562b
powerpc/8xx: make user addr DTLB miss the short path

User space DTLB miss represent approximatly 90% of TLB misses
so make it the shortest path.

Also remove an unneccessary double jump in FixupDAR

Before this patch, we spend 3.3 TB ticks in the handler for each
user address miss and 3.4 TB ticks for each kernel address miss
After this patch, we send 3.0 TB ticks in the handler for each
user address miss and 3.9 TB ticks for each kernel address miss
Taking into account that user misses represent 90% of the total,
this patch provides an improvement of approx. 9%

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/kernel/head_8xx.S