]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit16846cbb4067c35c49186201d50670a23bd29e0a
tree33a94f57d4acb7cb5258766cb71c6295222baee6
parent41b867697482645cc1855e42e7e5d9f9e2fb4ec9
parentbb363eab7a5aa9fbd9ca50c964d2821bbf0480c0
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>