Merge branch 'rhashtable-allocation-failure-during-insertion'
authorDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2017 03:17:06 +0000 (22:17 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2017 03:17:06 +0000 (22:17 -0500)
commit0c8ef291d976221319f70753c62e18b48d892590
tree33a94f57d4acb7cb5258766cb71c6295222baee6
parent4872e57c812dd312bf8193b5933fa60585cda42f
parent40137906c5f55c252194ef5834130383e639536f
Merge branch 'rhashtable-allocation-failure-during-insertion'

Herbert Xu says:

====================
rhashtable: Handle table allocation failure during insertion

v2 -

Added Ack to patch 2.
Fixed RCU annotation in code path executed by rehasher by using
rht_dereference_bucket.

v1 -

This series tackles the problem of table allocation failures during
insertion.  The issue is that we cannot vmalloc during insertion.
This series deals with this by introducing nested tables.

The first two patches removes manual hash table walks which cannot
work on a nested table.

The final patch introduces nested tables.

I've tested this with test_rhashtable and it appears to work.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>