diff options
author | 2013-09-02 13:51:38 +0200 | |
---|---|---|
committer | 2013-09-04 00:27:24 -0400 | |
commit | 6c8d23f78646b20bdbdad476d015b6594ac8ff1c (patch) | |
tree | f3bc75b01a5871be54c022a303e0eac8c791cc98 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vhost_net: correctly limit the max pending buffers (diff) | |
download | linux-dev-6c8d23f78646b20bdbdad476d015b6594ac8ff1c.tar.xz linux-dev-6c8d23f78646b20bdbdad476d015b6594ac8ff1c.zip |
bonding: simplify and fix peer notification
This patch aims to remove a use of the bond->lock for mutual exclusion
which will later allow easier migration to RCU of the users of this
functionality. We use RTNL as a synchronizing mechanism since it's
always held when send_peer_notif is set, and when it is decremented from
the notifier function. We can also drop some locking, and fix the
leakage of the send_peer_notif counter.
Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions