[parisc-linux] Progress - Update
Alan Cox
alan@lxorguk.ukuu.org.uk
Tue, 30 Nov 1999 19:31:46 +0000 (GMT)
> to use spin_lock_irqsave / spin_unlock_irqrestore on an array of spinlocks
> indexed by a hash of the address - x86istic code expecting xchg() to be
> fast is going to suck I'd guess.
You can catch the suitably aligned case. I don't think anyone will have a problem
if you submit patches over time so that critical xchg()'d objects are 16byte
aligned where it doesnt impact other platforms.
Keep counters of aligned/unaligned