Netdev List
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: amwang@redhat.com
Cc: netdev@vger.kernel.org, s.munaut@whatever-company.com,
	akpm@linux-foundation.org, sathya.perla@emulex.com,
	subbu.seetharaman@emulex.com, ajit.khaparde@emulex.com
Subject: Re: [Patch] netpoll: revert 6bdb7fe3104 and fix be_poll() instead
Date: Wed, 29 Aug 2012 15:06:05 -0400 (EDT)	[thread overview]
Message-ID: <20120829.150605.81786816498426745.davem@davemloft.net> (raw)
In-Reply-To: <1345880471-29535-1-git-send-email-amwang@redhat.com>

From: Cong Wang <amwang@redhat.com>
Date: Sat, 25 Aug 2012 15:41:11 +0800

> Against -net.
> 
> In the patch "netpoll: re-enable irq in poll_napi()", I tried to
> fix the following warning:
 ...
> by reenabling IRQ before calling ->poll, but it seems more
> problems are introduced after that patch:
> 
> http://ozlabs.org/~akpm/stuff/IMG_20120824_122054.jpg
> http://marc.info/?l=linux-netdev&m=134563282530588&w=2
> 
> So it is safe to fix be2net driver code directly.
> 
> This patch reverts the offending commit and fixes be_poll() by
> avoid disabling BH there, this is okay because be_poll()
> can be called either by poll_napi() which already disables
> IRQ, or by net_rx_action() which already disables BH.
> 
> Reported-by: Andrew Morton <akpm@linux-foundation.org>
> Reported-by: Sylvain Munaut <s.munaut@whatever-company.com>
> Cc: Sylvain Munaut <s.munaut@whatever-company.com>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: David Miller <davem@davemloft.net>
> Cc: Sathya Perla <sathya.perla@emulex.com>
> Cc: Subbu Seetharaman <subbu.seetharaman@emulex.com>
> Cc: Ajit Khaparde <ajit.khaparde@emulex.com>
> Signed-off-by: Cong Wang <amwang@redhat.com>

Applied, thanks.

      parent reply	other threads:[~2012-08-29 19:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-25  7:41 [Patch] netpoll: revert 6bdb7fe3104 and fix be_poll() instead Cong Wang
2012-08-25 10:04 ` Sylvain Munaut
2012-08-29 19:06 ` David Miller [this message]

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=20120829.150605.81786816498426745.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=ajit.khaparde@emulex.com \
    --cc=akpm@linux-foundation.org \
    --cc=amwang@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=s.munaut@whatever-company.com \
    --cc=sathya.perla@emulex.com \
    --cc=subbu.seetharaman@emulex.com \
    /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