]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] mm: fix mmu_gather rework
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sun, 29 May 2011 10:40:51 +0000 (12:40 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Sun, 29 May 2011 10:40:51 +0000 (12:40 +0200)
commitfd4cd58a338bbdb4bb4f3e97bc28f33cfd5d2156
tree22872361ef884b527855ebe6bf225eaabbae4ca1
parent8407a990f7123475a6aa2926aeb9023119a5baa9
[S390] mm: fix mmu_gather rework

Quite a few functions that get called from the tlb gather code require that
preemption must be disabled. So disable preemption inside of the called
functions instead.
The only drawback is that rcu_table_freelist_finish() doesn't get necessarily
called on the cpu(s) that filled the free lists. So we may see a delay, until
we finally see an rcu callback. However over time this shouldn't matter.

So we get rid of lots of "BUG: using smp_processor_id() in preemptible"
messages.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/mm/pgtable.c