]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5614a7aef81d2b5f63321bf69ed6e5baec88eb1
tree0a6a08124301510af4c6f6926efc9ae7afd8c03f
parenta92ff6202864bdd2226a1e4bec486fbb1bd27b80
parent1a17cfe5827397f8e03ba8d815b507e860ef6e6a
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>