# Re: \[PATCH 0/9 net-next v2\] rhashtable: Per bucket locks \& deferred table resizing

- From: David Miller \<davem@davemloft.net\>
- Date: 2015-01-03 19:45:03 
- List: netdev
- Page: https://ratatoskr.run/netdev/2015/01/4402167
- Thread: https://ratatoskr.run/netdev/2015/01/4402025/t.md

```text
From: Thomas Graf <tgraf@suug.ch>
Date: Fri,  2 Jan 2015 23:00:13 +0100

> Prepares for and introduces per bucket spinlocks and deferred table
> resizing. This allows for parallel table mutations in different hash
> buckets from atomic context. The resizing occurs in the background
> in a separate worker thread while lookups, inserts, and removals can
> continue.
> 
> Also modified the chain linked list to be terminated with a special
> nulls marker to allow entries to move between multiple lists.
> 
> Last but not least, reintroduces lockless netlink_lookup() with
> deferred Netlink socket destruction to avoid the side effect of
> increased netlink_release() runtime.

I'm sure that this might need a minor tweak or two still, but I really
like how you implemented this so I'll apply this series now.

Thanks!
```
