Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4401088pxb; Tue, 26 Jan 2021 22:23:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJy8R6mK8GvdRjq18lgwx0mDQIgG0yw13mjazfAcOU5TK/gLe270/4aRkRrNYiYijtLPoWXo X-Received: by 2002:a50:c34b:: with SMTP id q11mr7654956edb.173.1611728607599; Tue, 26 Jan 2021 22:23:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611728607; cv=none; d=google.com; s=arc-20160816; b=BAFodFeq5ZMxCNn5lmBL35fAuQncoY/WT3F3RUTs+Kea2NEcm/pvcRIKL+FUAKrUe2 2kXMIzAAH2S8293bgCg69O0+Bvbifq6Jqvz5egQtaU+iF9HAIq77C16UMJ7dcmAaV4rG NF//1ugCFMv/G8CEXfw0zH0rZ0yMBoC5thwaMkjV0KtxecwyIU9gTTcHxkHw8J+RmAXF Wt2Tbp2IwPQMVL9l9rZkYo1eQTu8sFtdZLy/bHefXvzIeef5dnjPjXVNAAyfPdTYzTQ6 4JFisJI1gtAJ7Bx2H9NPtqaU/5Wyj/gpNExkzDy+TcjSt9pcTSFNZ9NKdGOEo0TuyAad 4QfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=i+1t76Z1dNFXpM4wBzXIU2NbjwAOLlBoa8GnB//cnD0=; b=vzV2hGuLM2jX6F2tsPBUvksMWHIH0mCfUwL1pQbd22aja16ANGnU/IsvuuAoHdA5B9 lATgLgcWvqGtBwCkJvbn24EabQfXfVZyXDrG/DmRFLRsl+2VSG3exPUDyLVdXPWc2oxn o7maevncJQbdi0kw/ehfC95bLRAnAPoDlEzW8dFXMWBH7Zo702T20pxjqwHqxgWaqH2B rKEGZ30UMCsWsyZKXQd3Eenrf9mPTuUMC8Rjud/h2IXd3tfNtzKU7R10lhW2kPNs4f5Q DBbiTRs/FTWwtY7Ryve2bKFSBYTgHpN0sEqHAPB81C1GgNt3WIXVTCVN5GeEGxKKLcQd aBgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KJ8iYIzf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i4si511640edx.123.2021.01.26.22.23.04; Tue, 26 Jan 2021 22:23:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KJ8iYIzf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394643AbhAZSUA (ORCPT + 99 others); Tue, 26 Jan 2021 13:20:00 -0500 Received: from mail.kernel.org ([198.145.29.99]:46116 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394427AbhAZSPp (ORCPT ); Tue, 26 Jan 2021 13:15:45 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id EE5E820780; Tue, 26 Jan 2021 18:15:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611684905; bh=3pVCU2akVCfUY9nBoClkWaDk9ECtyCUfD5m0GIsKt5g=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=KJ8iYIzfilFtTjP0Hpob5ttwArvX0gV9/sqWYrsqoZwv/8aiWpePb9+rRldIr9iCG eFWQ0G4ckxKOAPckxMeEQb5IaWuxByT6CSJFir3QiDORBD4yis0I71xzTQ6vZJzipc h4gzvq9CxBiNpkGh527AUV+iFqDwws2/wGF55+26Uo4idRy61o1bA8B/WQ1hcAyoEw K6gnhdmDxgHDmrDQfWh8jgFuVtEUviSHEHPPZI+6e8WRSpnpQTxp3EYb/f0i+M59fe mTqhwIPnxrvJ/hF6kZcgzKIhYBXt/S4DJ4GVmthx8jwl2w7mCfuM9fXoPU5O1SZEJx 2l/f4DRm2CqMg== Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id 9617C352268C; Tue, 26 Jan 2021 10:15:04 -0800 (PST) Date: Tue, 26 Jan 2021 10:15:04 -0800 From: "Paul E. McKenney" To: David Gow Cc: Marco Elver , Dmitry Vyukov , boqun.feng@gmail.com, kasan-dev , Linux Kernel Mailing List Subject: Re: [PATCH 2/2] kcsan: Switch to KUNIT_CASE_PARAM for parameterized tests Message-ID: <20210126181504.GF2743@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20210113160557.1801480-1-elver@google.com> <20210113160557.1801480-2-elver@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 26, 2021 at 12:35:47PM +0800, David Gow wrote: > On Thu, Jan 14, 2021 at 12:06 AM Marco Elver wrote: > > > > Since KUnit now support parameterized tests via KUNIT_CASE_PARAM, update > > KCSAN's test to switch to it for parameterized tests. This simplifies > > parameterized tests and gets rid of the "parameters in case name" > > workaround (hack). > > > > At the same time, we can increase the maximum number of threads used, > > because on systems with too few CPUs, KUnit allows us to now stop at the > > maximum useful threads and not unnecessarily execute redundant test > > cases with (the same) limited threads as had been the case before. > > > > Cc: David Gow > > Signed-off-by: Marco Elver > > --- > > Thanks! This looks great from the KUnit point of view: I'm > particularly excited to see a use of the parameterised test generator > that's not just reading from an array. > > I tested this as well, and it all seemed to work fine for me. > > Reviewed-by: David Gow I applied both Reviewed-by tags, thank you! Thanx, Paul