]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit2bc223375af5f8ec66c584fa28d661713496fdaf
tree222c7f054eccce1b98fac8ceafa8dde2afd6b63f
parent4e961f7b328a11d03ff1d9f7375eaf2a8f91a9ca
[MIPS] Fix deadlock on MP with cache aliases.

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>
arch/mips/mm/c-r4k.c