]> git.baikalelectronics.ru Git - kernel.git/commit
rhashtable: Check for count mismatch while iterating in selftest
authorThomas Graf <tgraf@suug.ch>
Mon, 24 Nov 2014 11:37:58 +0000 (12:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Nov 2014 21:17:31 +0000 (16:17 -0500)
commit0265783c81f1075fb24cda5a9e69e8b5573a0857
tree518201f6e9babaab13de4c9c62de45ed43d8b31a
parentf5dda970dd77231a422c468ffa5099e94d08ccc7
rhashtable: Check for count mismatch while iterating in selftest

Verify whether both the lock and RCU protected iterators see all
test entries before and after expanding and shrinking has been
performed. Also verify whether the number of entries in the hashtable
remains stable during expansion and shrinking.

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