]> asedeno.scripts.mit.edu Git - linux.git/commit
net/core: Replace call_rcu_bh() and synchronize_rcu_bh()
authorPaul E. McKenney <paulmck@linux.ibm.com>
Wed, 7 Nov 2018 03:43:32 +0000 (19:43 -0800)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Sat, 1 Dec 2018 20:38:47 +0000 (12:38 -0800)
commit5da54c1810e52f7abba0ff7932dddd761f945875
tree63e7cdeba2543f4bb6bf045b5bfa736ab8c18fd6
parentae0e33494a601e13df79c4742d88d4d2bc2b0a87
net/core: Replace call_rcu_bh() and synchronize_rcu_bh()

Now that call_rcu()'s callback is not invoked until after all bh-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_bh().  Similarly, synchronize_rcu() can be used in place of
synchronize_rcu_bh().  This commit therefore makes these changes.

Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: <netdev@vger.kernel.org>
net/core/netpoll.c