aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2018-10-30 19:30:07 -0400
committerPaul E. McKenney <paulmck@linux.ibm.com>2018-11-09 00:43:20 -0500
commit0d4e68e2f3979c67a3596c61c118e0c73a2bdfe0 (patch)
tree1074105c59bdee5a99a609dbc3ba9093ae952089
parent8fa9eb388eb00f7a63caf0fd370f8c134015fc1f (diff)
s390/mm: Convert tlb_table_flush() to use call_rcu()
Now that call_rcu()'s callback is not invoked until after all preempt-disable regions of code have completed (in addition to explicitly marked RCU read-side critical sections), call_rcu() can be used in place of call_rcu_sched(). This commit therefore makes that change. Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: <linux-s390@vger.kernel.org>
-rw-r--r--arch/s390/mm/pgalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/mm/pgalloc.c b/arch/s390/mm/pgalloc.c
index 76d89ee8b428..da64e4b9324e 100644
--- a/arch/s390/mm/pgalloc.c
+++ b/arch/s390/mm/pgalloc.c
@@ -350,7 +350,7 @@ void tlb_table_flush(struct mmu_gather *tlb)
350 struct mmu_table_batch **batch = &tlb->batch; 350 struct mmu_table_batch **batch = &tlb->batch;
351 351
352 if (*batch) { 352 if (*batch) {
353 call_rcu_sched(&(*batch)->rcu, tlb_remove_table_rcu); 353 call_rcu(&(*batch)->rcu, tlb_remove_table_rcu);
354 *batch = NULL; 354 *batch = NULL;
355 } 355 }
356} 356}