]> 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)
commitafb379664cf86a3404d36860b926fee7ae493d4a
tree22872361ef884b527855ebe6bf225eaabbae4ca1
parentaacd734beb8b3f3bc3480de97e7d9bc50aa4f2ac
[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