rhashtable: Allow other tasks to be scheduled in large lookup loops
authorThomas Graf <tgraf@suug.ch>
Fri, 17 Jul 2015 08:52:48 +0000 (10:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2015 07:10:08 +0000 (00:10 -0700)
commit685a015e44dcd4db50ada60a9a2806659c165d9e
tree123243eb11c6d6476b7590deb16587e912e4236b
parentf61687c01917946d2274dd8736bb8f9e2691ee5b
rhashtable: Allow other tasks to be scheduled in large lookup loops

Depending on system speed, the large lookup/insert/delete loops of the testsuite can
take a considerable amount of time to complete causing watchdog warnings to appear.
Allow other tasks to be scheduled throughout the loops.

Reported-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/test_rhashtable.c