[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181016182148.xjitjrh2g3kzapqt@linutronix.de>
Date: Tue, 16 Oct 2018 20:21:48 +0200
From: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: netdev@...r.kernel.org, virtualization@...ts.linux-foundation.org,
tglx@...utronix.de,
Toshiaki Makita <makita.toshiaki@....ntt.co.jp>,
"Michael S. Tsirkin" <mst@...hat.com>,
Jason Wang <jasowang@...hat.com>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [RFC] virtio_net: add local_bh_disable() around
u64_stats_update_begin
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
Powered by blists - more mailing lists