diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-03-31 07:49:27 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-03 22:11:11 +1100 |
commit | b991f05f1326fd9e6212851d0f2099875906dd16 (patch) | |
tree | 3ed9768f865989ab221bcbfbfb8df930997cb3b6 /arch/cris | |
parent | ff3da2e0938bae36d10d69c22bce0177b067a9e2 (diff) |
[POWERPC] Fix deadlock with mmu_hash_lock in hash_page_sync
hash_page_sync() takes and releases the low level mmu hash
lock in order to sync with other processors disposing of page
tables. Because that lock can be needed to service hash misses
triggered by interrupt handlers, taking it must be done with
interrupts off. However, hash_page_sync() appears to be called
with interrupts enabled, thus causing occasional deadlocks.
We fix it by making sure hash_page_sync() masks interrupts while
holding the lock.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/cris')
0 files changed, 0 insertions, 0 deletions