linux/arch/sparc64/mm
David S. Miller f4e841da30 [SPARC64]: Turn off TSB growing for now.
There are several tricky races involved with growing the TSB.  So just
use base-size TSBs for user contexts and we can revisit enabling this
later.

One part of the SMP problems is that tsb_context_switch() can see
partially updated TSB configuration state if tsb_grow() is running in
parallel.  That's easily solved with a seqlock taken as a writer by
tsb_grow() and taken as a reader to capture all the TSB config state
in tsb_context_switch().

Then there is flush_tsb_user() running in parallel with a tsb_grow().
In theory we could take the seqlock as a reader there too, and just
resample the TSB pointer and reflush but that looks really ugly.

Lastly, I believe there is a case with threads that results in a TSB
entry lock bit being set spuriously which will cause the next access
to that TSB entry to wedge the cpu (since the TSB entry lock bit will
never clear).  It's either copy_tsb() or some bug elsewhere in the TSB
assembly.

Signed-off-by: David S. Miller <davem@davemloft.net>
2006-03-20 01:11:34 -08:00
..
fault.c [SPARC64]: Use ARRAY_SIZE macro 2005-11-09 12:03:42 -08:00
generic.c [SPARC64]: Fix >8K I/O mappings. 2005-11-29 13:59:03 -08:00
hugetlbpage.c [PATCH] Hugepage consolidation 2005-06-21 18:46:15 -07:00
init.c [SPARC64]: Turn off TSB growing for now. 2006-03-20 01:11:34 -08:00
Makefile [SPARC64]: Move away from virtual page tables, part 1. 2006-03-20 01:11:13 -08:00
tlb.c [SPARC64]: Move away from virtual page tables, part 1. 2006-03-20 01:11:13 -08:00
tsb.c [SPARC64]: Turn off TSB growing for now. 2006-03-20 01:11:34 -08:00
ultra.S [SPARC64]: Fix bogus flush instruction usage. 2006-03-20 01:11:22 -08:00