diff options
author | Thomas Graf <tgraf@suug.ch> | 2015-01-02 23:00:22 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-03 14:32:57 -0500 |
commit | 21e4902aea80ef35afc00ee8d2abdea4f519b7f7 (patch) | |
tree | 8c1d2761c3959356151eed7bb677df633d64c0dd /drivers/scsi/scsi_priv.h | |
parent | f89bd6f87a53ce5a7d60662429591ebac2745c10 (diff) | |
download | linux-21e4902aea80ef35afc00ee8d2abdea4f519b7f7.tar.gz linux-21e4902aea80ef35afc00ee8d2abdea4f519b7f7.tar.bz2 linux-21e4902aea80ef35afc00ee8d2abdea4f519b7f7.zip |
netlink: Lockless lookup with RCU grace period in socket release
Defers the release of the socket reference using call_rcu() to
allow using an RCU read-side protected call to rhashtable_lookup()
This restores behaviour and performance gains as previously
introduced by e341694 ("netlink: Convert netlink_lookup() to use
RCU protected hash table") without the side effect of severely
delayed socket destruction.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
0 files changed, 0 insertions, 0 deletions