]> git.baikalelectronics.ru Git - kernel.git/commit
lib/rbtree-test: lower default params
authorDavidlohr Bueso <dave@stgolabs.net>
Fri, 17 Nov 2017 23:28:27 +0000 (15:28 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 18 Nov 2017 00:10:02 +0000 (16:10 -0800)
commitc5c023c09de5899f10349b6772ff88d724f9a2d2
tree1a47af5c7d4e44cf0dadb5247493160c397a06b0
parentf4731e83bf1b37c28d246b47aa613585b87c6ba6
lib/rbtree-test: lower default params

Fengguang reported soft lockups while running the rbtree and interval
tree test modules.  The logic for these tests all occur in init phase,
and we currently are pounding with the default values for number of
nodes and number of iterations of each test.  Reduce the latter by two
orders of magnitude.  This does not influence the value of the tests in
that one thousand times by default is enough to get the picture.

Link: http://lkml.kernel.org/r/20171109161715.xai2dtwqw2frhkcm@linux-n805
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/interval_tree_test.c
lib/rbtree_test.c