Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2011824imu; Fri, 14 Dec 2018 04:29:31 -0800 (PST) X-Google-Smtp-Source: AFSGD/WNQjiWi8tjEy//Qo3FoPUaU4p73phzDMfSnmTAvVWUPoVPGQ3SI+H4rPkW74ILSTKbkK3W X-Received: by 2002:a17:902:2468:: with SMTP id m37mr2705423plg.314.1544790571735; Fri, 14 Dec 2018 04:29:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544790571; cv=none; d=google.com; s=arc-20160816; b=iGosF6vQrsCG+C4UmBqVO4exdFRu0pRLTm5orpUgytxBlmPy7WoIzY77VkbdkqJB5u YV6FGhw960s/BhWLPorE3Pwjmzo+CGqkDQ8M8gw9cMeXVX/vcPdf2GK+sJnCwgFJkoQb ICPGTIp1l/bYja/G3ENObWBZVZY+fL8wBb2/aHaHdlETO9NcnJCkGHXaVGCA7kxhHXhD hbojwiP3xZq669HsE6s0Q8LTxTW2xBoZckpr6C6ikmfN8K8Doov+soyGbt/t1z/UaZwm k6Cyh7NTj7qLNmmmJ8DW8YVa6SxHfjgHDmA/wq2SYmxs3jcZxMZvmOF0HQuOyl6ZjOrR rxQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=x0BfikEHYNqAh6FxhMWlyv/hfKG6HiaePC7qrv3rR3Q=; b=t1FjCLRYOydUEgQXHO6Vr8CL3SZK2oKSctVexHM+KxjfZAi7cMqP9IldvgTw8FCf/d A5oPPpQeqgWHAMzMsJWK98b8x2YauhS1YidPKY//+pHgvPBSzcA1+0Ly2NfJ3nqjyZ+w xkD2JQxxoMyKC2bCpo45buowdXRrtazJXIHdeym4rkBTufuQEQMukV2nf42ttnp7W53J CwWaqQrNF5ZIdu8mfFnsAePnUQN3wIRDDZQKHPUAi2fSPYFSVQ5iyJ1xemlVoMqNo2Xq HUT4ZmX3jj8UDU84x6xewJk1EhZuQEf7fY2EfYWeZXpMnpTOh296hGl6P3tA0yfikXXY 7SQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xgTneqoe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a16si3903337pls.146.2018.12.14.04.29.17; Fri, 14 Dec 2018 04:29:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xgTneqoe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731660AbeLNMKr (ORCPT + 99 others); Fri, 14 Dec 2018 07:10:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:57018 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731599AbeLNMKo (ORCPT ); Fri, 14 Dec 2018 07:10:44 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7F7D02133F; Fri, 14 Dec 2018 12:10:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544789444; bh=EZ5bYAlZLIdpSp5aTmFRB/IfRz9bAjevKFA94y30NtI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xgTneqoeSNSM5AumWLe6k5akZCY6A1rEYmB2LCfQYqCnTurBotesFVWWS7bToo5kg 9ldkCwBD3iufB7Ib1vwSC8/+CPjSXhMZgdbB04aCmEemZBTDnwGKLR6bews4ncxtje Cw68/VDfJilbfexyzrWx5/DRl26Y+sB75AH5u+54= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Davidlohr Bueso , Fengguang Wu , Andrew Morton , Linus Torvalds , Guenter Roeck Subject: [PATCH 4.14 84/89] lib/rbtree-test: lower default params Date: Fri, 14 Dec 2018 13:00:37 +0100 Message-Id: <20181214115733.843134086@linuxfoundation.org> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181214115729.658859279@linuxfoundation.org> References: <20181214115729.658859279@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Davidlohr Bueso commit 0b548e33e6cb2bff240fdaf1783783be15c29080 upstream. 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 Reported-by: Fengguang Wu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Cc: Guenter Roeck Signed-off-by: Greg Kroah-Hartman --- lib/interval_tree_test.c | 4 ++-- lib/rbtree_test.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) --- a/lib/interval_tree_test.c +++ b/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"); --- a/lib/rbtree_test.c +++ b/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 {