]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit3c5cffb66d8ea94832650fcb55194715b0229088
tree22872361ef884b527855ebe6bf225eaabbae4ca1
parenta43a9d93d40a69eceeb4e4a4c860cc20186d475c
[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