public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Ding Tianhong <dingtianhong@huawei•com>
To: Nikolay Aleksandrov <nikolay@redhat•com>
Cc: <netdev@vger•kernel.org>, <andy@greyhouse•net>,
	<fubar@us•ibm.com>, <davem@davemloft•net>
Subject: Re: [PATCH net-next 0/5] bonding: locking simplifications and cleanup
Date: Tue, 3 Sep 2013 09:48:04 +0800	[thread overview]
Message-ID: <52253FD4.1060908@huawei.com> (raw)
In-Reply-To: <1378122702-28943-1-git-send-email-nikolay@redhat.com>

On 2013/9/2 19:51, Nikolay Aleksandrov wrote:
> Hello,
> This small patchset aims to remove some use cases of bond->lock for mutual
> exclusion which will help in the RCUfication of the function users. It also
> does some small style cleanups and fixes.
> 
> Patch 01 - Drops the use of bond->lock as mutual exclusion for peer
> notification and relies on RTNL being held when send_peer_notif is modified
> Patch 02 - trivial outdated comment removal
> Patch 03 - Drops the use of bond->lock as mutual exclusion for lacp rate
> update and relies on RTNL, also fixes possible races with mode change
> Patch 04 - Drops read_lock in bond_fix_features because RTNL is held
> Patch 05 - Drops read_lock in bond_compute_features because RTNL is held
> whenever it's called
> 
> Best regards,
>  Nikolay Aleksandrov
> 
> Nikolay Aleksandrov (5):
>   bonding: simplify and fix peer notification
>   bonding: trivial: remove outdated comment and braces
>   bonding: simplify bond_3ad_update_lacp_rate and use RTNL for sync
>   bonding: drop read_lock in bond_fix_features
>   bonding: drop read_lock in bond_compute_features
> 
>  drivers/net/bonding/bond_3ad.c   |  8 +------
>  drivers/net/bonding/bond_main.c  | 48 ++++++++++++----------------------------
>  drivers/net/bonding/bond_sysfs.c |  7 +++++-
>  3 files changed, 21 insertions(+), 42 deletions(-)
> 

Reviewed-by: Ding Tianhong <dingtianhong@huawei•com>

  parent reply	other threads:[~2013-09-03  1:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-02 11:51 [PATCH net-next 0/5] bonding: locking simplifications and cleanup Nikolay Aleksandrov
2013-09-02 11:51 ` [PATCH net-next 1/5] bonding: simplify and fix peer notification Nikolay Aleksandrov
2013-09-02 11:51 ` [PATCH net-next 2/5] bonding: trivial: remove outdated comment and braces Nikolay Aleksandrov
2013-09-02 11:51 ` [PATCH net-next 3/5] bonding: simplify bond_3ad_update_lacp_rate and use RTNL for sync Nikolay Aleksandrov
2013-09-02 11:51 ` [PATCH net-next 4/5] bonding: drop read_lock in bond_fix_features Nikolay Aleksandrov
2013-09-02 11:51 ` [PATCH net-next 5/5] bonding: drop read_lock in bond_compute_features Nikolay Aleksandrov
2013-09-03  1:48 ` Ding Tianhong [this message]
2013-09-04  4:52 ` [PATCH net-next 0/5] bonding: locking simplifications and cleanup 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=52253FD4.1060908@huawei.com \
    --to=dingtianhong@huawei$(echo .)com \
    --cc=andy@greyhouse$(echo .)net \
    --cc=davem@davemloft$(echo .)net \
    --cc=fubar@us$(echo .)ibm.com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=nikolay@redhat$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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