]> git.baikalelectronics.ru Git - kernel.git/commit
rhashtable-test: Measure time to insert, remove & traverse entries
authorThomas Graf <tgraf@suug.ch>
Thu, 30 Apr 2015 22:37:41 +0000 (22:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2015 03:08:53 +0000 (23:08 -0400)
commit768756de70eb0cb1dcbcb29cfa5fd3b08b864f1d
tree55a7bdd26921f3c58159358c0fdea130721c82d6
parentacf1c77b094ad8fd117d6d9619613c1fdec954fe
rhashtable-test: Measure time to insert, remove & traverse entries

Make test configurable by allowing to specify all relevant knobs
through module parameters.

Do several test runs and measure the average time it takes to
insert & remove all entries. Note, a deferred resize might still
continue to run in the background.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/test_rhashtable.c