summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/tsb.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-03-06 03:26:24 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 10:14:18 +0100
commit74ae998772041b62e9ad420d602e4f7dbb182cd6 (patch)
tree8cbeb2ff56856d357647da6ab62562bac2fe87ad /arch/sparc64/kernel/tsb.S
parent[SPARC64]: More SUN4V cpu mondo bug fixing. (diff)
downloadlinux-74ae998772041b62e9ad420d602e4f7dbb182cd6.tar.xz
linux-74ae998772041b62e9ad420d602e4f7dbb182cd6.zip
[SPARC64]: Simplify TSB insert checks.
Don't try to avoid putting non-base page sized entries into the user TSB. It actually costs us more to check this than it helps. Eventually we'll have a multiple TSB scheme for user processes. Once a process starts using larger pages, we'll allocate and use such a TSB. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/tsb.S')
-rw-r--r--arch/sparc64/kernel/tsb.S14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/sparc64/kernel/tsb.S b/arch/sparc64/kernel/tsb.S
index 563852bf3594..d738910153f6 100644
--- a/arch/sparc64/kernel/tsb.S
+++ b/arch/sparc64/kernel/tsb.S
@@ -55,20 +55,6 @@ tsb_reload:
brgez,a,pn %g5, tsb_do_fault
TSB_STORE(%g1, %g7)
- /* If it is larger than the base page size, don't
- * bother putting it into the TSB.
- */
- sethi %hi(_PAGE_ALL_SZ_BITS), %g7
- ldx [%g7 + %lo(_PAGE_ALL_SZ_BITS)], %g7
- and %g5, %g7, %g2
- sethi %hi(_PAGE_SZBITS), %g7
- ldx [%g7 + %lo(_PAGE_SZBITS)], %g7
- cmp %g2, %g7
- mov 1, %g7
- sllx %g7, TSB_TAG_INVALID_BIT, %g7
- bne,a,pn %xcc, tsb_tlb_reload
- TSB_STORE(%g1, %g7)
-
TSB_WRITE(%g1, %g5, %g6)
/* Finally, load TLB and return from trap. */