Re: [RFC] virtio_net: add local_bh_disable() around u64_stats_update_begin

From
Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date
2018-10-16 18:21:48
Also in
netdev
On 2018-10-16 10:59:30 [-0700], Stephen Hemminger wrote:
Since there already is u64_stats_update_begin_irqsave inline, why not introduce
u64_stats_update_begin_bh which encapsulates the local_bh_disable
CPU0				CPU1
refill_work()			virtnet_receive()
 try_fill_recv()		 try_fill_recv()
  u64_stats_update_begin_bh()	  u64_stats_update_begin_bh()

both CPUs may operate on the `rq'.

Sebastian
Thread (1 message) 1 message, 1 author, last reply 2018-10-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help