]> 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)
commit0b84ac45ad6549bb9358b8242b1fd3b4f4c6afc5
tree518201f6e9babaab13de4c9c62de45ed43d8b31a
parent09e51374be0e841f758dda4ccea8d3d96acd7a6f
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