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)
commit3e7b2ec4fe8ef4b05b33db3e84d1b1fbccde250e
tree518201f6e9babaab13de4c9c62de45ed43d8b31a
parent08dcf9fd194cf19d3b282a81cc3539202e768ca4
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