Merge branch 'rhashtable-allocation-failure-during-insertion'
authorDavid S. Miller <davem@davemloft.net>
Fri, 17 Feb 2017 17:28:44 +0000 (12:28 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Feb 2017 17:28:44 +0000 (12:28 -0500)
commite1c151a47942da66cd208dea2330547b34684fae
tree0a6a08124301510af4c6f6926efc9ae7afd8c03f
parent4581be42fce5e1d208cbeb8e78df3f1b4673eff7
parentda20420f83ea0fbcf3d03afda08d971ea1d8a356
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>