]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mm: Replace call_rcu_sched() with call_rcu()
authorPaul E. McKenney <paulmck@linux.ibm.com>
Wed, 7 Nov 2018 03:30:34 +0000 (19:30 -0800)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Tue, 27 Nov 2018 17:21:46 +0000 (09:21 -0800)
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>
mm/mmu_gather.c

index 2a9fbc4a37d59e2521649af2db17d4f25aa02af9..f2f03c65580707669207f2b3ae17ce8227c2b43f 100644 (file)
@@ -199,7 +199,7 @@ void tlb_table_flush(struct mmu_gather *tlb)
 
        if (*batch) {
                tlb_table_invalidate(tlb);
-               call_rcu_sched(&(*batch)->rcu, tlb_remove_table_rcu);
+               call_rcu(&(*batch)->rcu, tlb_remove_table_rcu);
                *batch = NULL;
        }
 }