All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
	netdev@vger.kernel.org,
	virtualization@lists.linux-foundation.org, tglx@linutronix.de,
	"David S. Miller" <davem@davemloft.net>
Subject: Re: [RFC] virtio_net: add local_bh_disable() around u64_stats_update_begin
Date: Tue, 16 Oct 2018 20:21:48 +0200	[thread overview]
Message-ID: <20181016182148.xjitjrh2g3kzapqt@linutronix.de> (raw)
In-Reply-To: <20181016105930.55e8fe5d@xeon-e3>

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

  reply	other threads:[~2018-10-16 18:21 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-16 16:55 [RFC] virtio_net: add local_bh_disable() around u64_stats_update_begin Sebastian Andrzej Siewior
2018-10-16 17:59 ` Stephen Hemminger
2018-10-16 18:21   ` Sebastian Andrzej Siewior [this message]
2018-10-16 17:59 ` Stephen Hemminger
2018-10-16 18:01 ` Stephen Hemminger
2018-10-16 18:01 ` Stephen Hemminger
2018-10-16 18:42   ` Sebastian Andrzej Siewior
2018-10-16 18:44     ` Stephen Hemminger
2018-10-18  8:43       ` [PATCH] " Sebastian Andrzej Siewior
2018-10-18  8:43       ` Sebastian Andrzej Siewior
2018-10-18  9:06         ` Toshiaki Makita
2018-10-18  9:11           ` Sebastian Andrzej Siewior
2018-10-18  9:26             ` Toshiaki Makita
2018-10-18  9:11           ` Sebastian Andrzej Siewior
2018-10-18 23:23         ` David Miller
2018-10-19  2:19           ` Jason Wang
2018-10-19  2:19           ` Jason Wang
2018-10-16 18:44     ` [RFC] " Stephen Hemminger
2018-10-16 18:42   ` Sebastian Andrzej Siewior
2018-10-17  1:13 ` Toshiaki Makita
2018-10-17  1:13 ` Toshiaki Makita
2018-10-17  6:48   ` Jason Wang
2018-10-17  6:48   ` Jason Wang
2018-10-18  8:47     ` Sebastian Andrzej Siewior
2018-10-18  8:47     ` Sebastian Andrzej Siewior
2018-10-18  9:00       ` Toshiaki Makita
2018-10-18  9:08         ` Sebastian Andrzej Siewior
2018-10-18  9:19           ` Toshiaki Makita
2018-10-18  9:30             ` Sebastian Andrzej Siewior
2018-10-18  9:53               ` Toshiaki Makita
2018-10-18  9:30             ` Sebastian Andrzej Siewior
2018-10-18 13:21             ` Rafael David Tinoco
2018-10-18  9:08         ` Sebastian Andrzej Siewior
2018-10-19  2:17       ` Jason Wang
2018-10-19  2:17       ` Jason Wang
2018-10-16 16:55 Sebastian Andrzej Siewior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181016182148.xjitjrh2g3kzapqt@linutronix.de \
    --to=bigeasy@linutronix.de \
    --cc=davem@davemloft.net \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    --cc=tglx@linutronix.de \
    --cc=virtualization@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.