diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-11-07 06:30:34 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-11-27 20:21:46 +0300 |
commit | b401ec18485ab95c49c160b170514f7ab0f8f774 (patch) | |
tree | 86588d9c6cccbacdc6b5aac188fe619e227521a2 /mm | |
parent | 6564a25e6c185e65ca3148ed6e18f80882f6798f (diff) | |
download | linux-b401ec18485ab95c49c160b170514f7ab0f8f774.tar.xz |
mm: Replace call_rcu_sched() with 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>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/mmu_gather.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mmu_gather.c b/mm/mmu_gather.c index 2a9fbc4a37d5..f2f03c655807 100644 --- a/mm/mmu_gather.c +++ b/mm/mmu_gather.c @@ -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; } } |