Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932116AbbKWRiY (ORCPT ); Mon, 23 Nov 2015 12:38:24 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:54432 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754698AbbKWRiX (ORCPT ); Mon, 23 Nov 2015 12:38:23 -0500 Date: Mon, 23 Nov 2015 12:38:21 -0500 (EST) Message-Id: <20151123.123821.1971816203199981831.davem@davemloft.net> To: phil@nwl.cc Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, tgraf@suug.ch, fengguang.wu@intel.com, wfg@linux.intel.com, lkp@01.org Subject: Re: [PATCH v2 0/4] improve fault-tolerance of rhashtable runtime-test From: David Miller In-Reply-To: <1448039840-11367-1-git-send-email-phil@nwl.cc> References: <1448039840-11367-1-git-send-email-phil@nwl.cc> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 23 Nov 2015 09:38:23 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1314 Lines: 31 From: Phil Sutter Date: Fri, 20 Nov 2015 18:17:16 +0100 > The following series aims to improve lib/test_rhashtable in different > situations: > > Patch 1 allows the kernel to reschedule so the test does not block too > long on slow systems. > Patch 2 fixes behaviour under pressure, retrying inserts in non-permanent > error case (-EBUSY). > Patch 3 auto-adjusts the upper table size limit according to the number > of threads (in concurrency test). In fact, the current default is > already too small. > Patch 4 makes it possible to retry inserts even in supposedly permanent > error case (-ENOMEM) to expose rhashtable's remaining problem of > -ENOMEM being not as permanent as it is expected to be. > > Changes since v1: > - Introduce insert_retry() which is then used in single-threaded test as > well. > - Do not retry inserts by default if -ENOMEM was returned. > - Rename the retry counter to be a bit more verbose about what it > contains. > - Add patch 4 as a debugging aid. Series applied, thanks Phil. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/