diff options
author | 2015-03-14 13:57:23 +1100 | |
---|---|---|
committer | 2015-03-15 01:35:34 -0400 | |
commit | 9d901bc05153bbf33b5da2cd6266865e531f0545 (patch) | |
tree | 57518695b14d3f67e66c6e25ab2878f04158bf25 /net/switchdev/switchdev.c | |
parent | rhashtable: Move seed init into bucket_table_alloc (diff) | |
download | wireguard-linux-9d901bc05153bbf33b5da2cd6266865e531f0545.tar.xz wireguard-linux-9d901bc05153bbf33b5da2cd6266865e531f0545.zip |
rhashtable: Free bucket tables asynchronously after rehash
There is in fact no need to wait for an RCU grace period in the
rehash function, since all insertions are guaranteed to go into
the new table through spin locks.
This patch uses call_rcu to free the old/rehashed table at our
leisure.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions