archive mirror
 help / color / mirror / Atom feed
From: David Miller <>
Subject: Re: [PATCH 1/4 v2] bonding: don't call slave_xxx_netpoll under spinlocks
Date: Wed, 24 Jul 2013 17:45:47 -0700 (PDT)	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

From: Ding Tianhong <>
Date: Tue, 23 Jul 2013 15:25:27 +0800

> The slave_xxx_netpoll will call synchronize_rcu_bh(),
> so the function may schedule and sleep, it should't be
> called under spinlocks.
> bond_netpoll_setup() and bond_netpoll_cleanup() are always
> protected by rtnl lock, it is no need to take the read lock,
> as the slave list couldn't be changed outside rtnl lock.
> Signed-off-by: Ding Tianhong <>


      reply	other threads:[~2013-07-25  0:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-23  7:25 [PATCH 1/4 v2] bonding: don't call slave_xxx_netpoll under spinlocks Ding Tianhong
2013-07-25  0:45 ` 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:

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

  git send-email \ \ \ \ \ \ \

* 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).