]> git.baikalelectronics.ru Git - kernel.git/commit
test_rhashtable: add test case for rhl_table interface
authorFlorian Westphal <fw@strlen.de>
Tue, 19 Sep 2017 23:12:14 +0000 (01:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Sep 2017 23:15:47 +0000 (16:15 -0700)
commitb698ee01e1a9ebb549b26b1c6f6b7863e2048e7b
tree80c6c1c91a9d018f36149a2f738867024280bba0
parent4c5a8be5c455ebe1e7b93768d3c6ad0070fe9609
test_rhashtable: add test case for rhl_table interface

also test rhltable.  rhltable remove operations are slow as
deletions require a list walk, thus test with 1/16th of the given
entry count number to get a run duration similar to rhashtable one.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/test_rhashtable.c