kernel-ark/arch
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
..
alpha [PATCH] alpha: fix IRQ handling lockup 2006-03-09 19:47:37 -08:00
arm [ARM] 3362/1: [cleanup] - duplicate decleration of mem_fclk_21285 2006-03-15 23:18:08 +00:00
arm26
cris
frv
h8300 [PATCH] add missing pm_power_off's 2006-03-06 18:40:44 -08:00
i386 [PATCH] x86: check for online cpus before bringing them up 2006-03-17 07:51:25 -08:00
ia64 [IA64] Fix race in the accessed/dirty bit handlers 2006-03-08 16:07:55 -08:00
m32r [PATCH] m32r: fix and update for gcc-4.0 2006-02-24 14:31:36 -08:00
m68k [PATCH] m68k: pm_power_off() breakage 2006-02-18 16:30:20 -05:00
m68knommu
mips [MIPS] SB1: Check for -mno-sched-prolog if building corelis debug kernel. 2006-03-18 16:59:31 +00:00
parisc
powerpc powerpc: update defconfigs 2006-03-16 16:55:08 +11:00
ppc powerpc: Fix various syscall/signal/swapcontext bugs 2006-03-08 13:24:22 +11:00
s390 [PATCH] s390: Increase spinlock retry code performance 2006-03-09 19:47:38 -08:00
sh [PATCH] arch/sh/Kconfig: don't source non-existing Kconfig files 2006-03-09 19:47:37 -08:00
sh64
sparc [SPARC]: BUG_ON() Conversion in arch/sparc/kernel/ioport.c 2006-03-20 01:10:35 -08:00
sparc64 [SPARC64]: Turn off TSB growing for now. 2006-03-20 01:11:34 -08:00
um [PATCH] uml: tidying COW code 2006-02-24 14:31:37 -08:00
v850 [PATCH] add missing pm_power_off's 2006-03-06 18:40:44 -08:00
x86_64 Revert "[PATCH] x86-64: Fix up handling of non canonical user RIPs" 2006-03-14 08:01:47 -08:00
xtensa [PATCH] xtensa must set RWSEM_GENERIC_SPINLOCK=y 2006-03-09 19:47:37 -08:00