]> git.baikalelectronics.ru Git - kernel.git/commit
rhashtable-test: Use walker to test bucket statistics
authorThomas Graf <tgraf@suug.ch>
Thu, 30 Apr 2015 22:37:44 +0000 (22:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2015 03:08:54 +0000 (23:08 -0400)
commitfa4f24350339348d3dcb6bebb106f6756fa28a03
tree16ff143dd196e071343e5d4d5a451fe8ab7faf64
parente2b5f70dbe1f75ec23a1af438f056dcd767a8c69
rhashtable-test: Use walker to test bucket statistics

As resizes may continue to run in the background, use walker to
ensure we see all entries. Also print the encountered number
of rehashes queued up while traversing.

This may lead to warnings due to entries being seen multiple
times. We consider them non-fatal.

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