[MIPS] Fix deadlock on MP with cache aliases.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 12 May 2006 12:20:06 +0000 (13:20 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 31 May 2006 23:28:33 +0000 (00:28 +0100)
A proper fix would involve introducing the notion of shared caches but
at this stage of 2.6.17 that's going to be too intrusive and not needed
for current hardware; aside I think some discussion will be needed.

So for now on the affected SMP configurations which happen to suffer from
cache aliases we make use of the fact that a single cache will be shared
by all processors.  This solves the deadlock issue and will improve
performance by getting rid of the smp_call_function overhead.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

No differences found