mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + lib-rbtree-test-lower-default-params.patch added to -mm tree
@ 2017-11-09 22:59 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2017-11-09 22:59 UTC (permalink / raw)
  To: dave, dbueso, fengguang.wu, mm-commits


The patch titled
     Subject: lib/rbtree-test: lower default params
has been added to the -mm tree.  Its filename is
     lib-rbtree-test-lower-default-params.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/lib-rbtree-test-lower-default-params.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/lib-rbtree-test-lower-default-params.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Davidlohr Bueso <dave@stgolabs.net>
Subject: 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>
---

 lib/interval_tree_test.c |    4 ++--
 lib/rbtree_test.c        |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff -puN lib/interval_tree_test.c~lib-rbtree-test-lower-default-params lib/interval_tree_test.c
--- a/lib/interval_tree_test.c~lib-rbtree-test-lower-default-params
+++ a/lib/interval_tree_test.c
@@ -11,10 +11,10 @@
 	MODULE_PARM_DESC(name, msg);
 
 __param(int, nnodes, 100, "Number of nodes in the interval tree");
-__param(int, perf_loops, 100000, "Number of iterations modifying the tree");
+__param(int, perf_loops, 1000, "Number of iterations modifying the tree");
 
 __param(int, nsearches, 100, "Number of searches to the interval tree");
-__param(int, search_loops, 10000, "Number of iterations searching the tree");
+__param(int, search_loops, 1000, "Number of iterations searching the tree");
 __param(bool, search_all, false, "Searches will iterate all nodes in the tree");
 
 __param(uint, max_endpoint, ~0, "Largest value for the interval's endpoint");
diff -puN lib/rbtree_test.c~lib-rbtree-test-lower-default-params lib/rbtree_test.c
--- a/lib/rbtree_test.c~lib-rbtree-test-lower-default-params
+++ a/lib/rbtree_test.c
@@ -11,7 +11,7 @@
 	MODULE_PARM_DESC(name, msg);
 
 __param(int, nnodes, 100, "Number of nodes in the rb-tree");
-__param(int, perf_loops, 100000, "Number of iterations modifying the rb-tree");
+__param(int, perf_loops, 1000, "Number of iterations modifying the rb-tree");
 __param(int, check_loops, 100, "Number of iterations modifying and verifying the rb-tree");
 
 struct test_node {
_

Patches currently in -mm which might be from dave@stgolabs.net are

lib-rbtree-test-lower-default-params.patch
sysvipc-unteach-ids-next_id-for-checkpoint_restore.patch
sysvipc-duplicate-lock-comments-wrt-ipc_addid.patch
sysvipc-properly-name-ipc_addid-limit-parameter.patch
sysvipc-make-get_maxid-o1-again.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-09 22:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-09 22:59 + lib-rbtree-test-lower-default-params.patch added to -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).