]> 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)
commitd739489b21e0112274e09cfbe69597815612c726
tree0a6a08124301510af4c6f6926efc9ae7afd8c03f
parentcbe97d3fdb6bab0f3c7442d38ab6c9fdd298b6cd
parentffe942e0f32bca6d953ab2f173cc3c7fb0f0064f
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>