Thread (22 messages) 22 messages, 6 authors, 2018-10-19

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: virtualization

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help