• Heiko Carstens's avatar
    [S390] mm: fix mmu_gather rework · 3c5cffb6
    Heiko Carstens authored
    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: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
    3c5cffb6
pgtable.c 10.8 KB