]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
lib/rbtree-test: lower default params
authorDavidlohr Bueso <dave@stgolabs.net>
Fri, 17 Nov 2017 23:28:27 +0000 (15:28 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Dec 2018 13:08:47 +0000 (14:08 +0100)
commitfee4071f2343422cc103b3e3f544123f42a6469d
tree90cbdcd08961990e327ad57c225d214abada5f11
parent91b813d95f8ca82372cee9997c14a3afa9eefd83
lib/rbtree-test: lower default params

[ Upstream commit 0b548e33e6cb2bff240fdaf1783783be15c29080 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
lib/interval_tree_test.c
lib/rbtree_test.c