From: David Miller <davem@davemloft.net>
To: bigeasy@linutronix.de
Cc: edumazet@google.com, netdev@vger.kernel.org, tglx@linutronix.de
Subject: Re: [PATCH 2/2] net/core: remove explicit do_softirq() from busy_poll_stop()
Date: Tue, 20 Jun 2017 13:09:45 -0400 (EDT) [thread overview]
Message-ID: <20170620.130945.326025562609465610.davem@davemloft.net> (raw)
In-Reply-To: <20170616172400.10809-2-bigeasy@linutronix.de>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 16 Jun 2017 19:24:00 +0200
> Since commit 217f69743681 ("net: busy-poll: allow preemption in
> sk_busy_loop()") there is an explicit do_softirq() invocation after
> local_bh_enable() has been invoked.
> I don't understand why we need this because local_bh_enable() will
> invoke do_softirq() once the softirq counter reached zero and we have
> softirq-related work pending.
>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
This indeed is superfluous, applied, thanks.
next prev parent reply other threads:[~2017-06-20 17:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-16 17:23 [PATCH 1/2] net/core: use local_bh_disable() in netif_rx_ni() Sebastian Andrzej Siewior
2017-06-16 17:24 ` [PATCH 2/2] net/core: remove explicit do_softirq() from busy_poll_stop() Sebastian Andrzej Siewior
2017-06-20 17:09 ` David Miller [this message]
2017-06-20 17:08 ` [PATCH 1/2] net/core: use local_bh_disable() in netif_rx_ni() David Miller
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=20170620.130945.326025562609465610.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=bigeasy@linutronix.de \
--cc=edumazet@google.com \
--cc=netdev@vger.kernel.org \
--cc=tglx@linutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).