From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99B1FC43334 for ; Wed, 6 Jul 2022 19:44:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233847AbiGFToz (ORCPT ); Wed, 6 Jul 2022 15:44:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232499AbiGFTow (ORCPT ); Wed, 6 Jul 2022 15:44:52 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39F6FDFE7 for ; Wed, 6 Jul 2022 12:44:51 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id n8so20603645eda.0 for ; Wed, 06 Jul 2022 12:44:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VKmMBf94dqxoTjWi2eeMymoq1+LEzz8Mcbmk6X430xs=; b=QPubt1JaNqnaKlW47bNlowu/ISfn+jldi2xTy+EQoJxWPeFKU1fXtIqSlnaQ8geZHU MyvpCrrdhsuyiSBK+8oQiezGplmIzd1ibjpsPY7r1nTUJDsIiNTYLER5QwE1NLeFpA19 iIrvQWcpJT0nLE+z508HT85iQwzfr5pljAOsy8D3idure2AMS1yrkyPmGOnTiRJnbR6y vfsitWxWiyV9kh0Z2Y/7UcBx17U28/UW7p9TCdRqChlAdRXvP9StjGp8cyWAWpSj1e8/ ew2J8IUH9SX1FwlSZno2E428zLDu8QV6+yZB/5ZGOSQUFVF0oD3aERzIAc8AfrqM2KlO 3h2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VKmMBf94dqxoTjWi2eeMymoq1+LEzz8Mcbmk6X430xs=; b=Nad6tzOscSW4lEjV7M3liZu9lvkdjVEp06UJ3CYTvWCOc7wYIhq1KQNQz4V4C581W/ pYDR7mwxMHov2poFncJV4mCnuRXd/RFMCJd+ykye1avjRk9gTidoy3NcdEXCt6r0F6r/ 57NDil7az0y6x1hCeUrjhKnkzk5Gpu0iRr12ByjjPhxMCgMCMJFEjWT4Ol2iP05T/Fd1 pZWJX6HIkWf3YXMq2vyYo/uR4Kh0A4n9eAPD0KHpmnAOre3JNT7sh2qdFRPhOHdlg3Zk 9IVJNfJwgdMoKLUbeZqVu4n2yMmsk3rtJefIQQoiFipyJXSMmE3p1sfHnCDQ4sIMbwC1 aqoQ== X-Gm-Message-State: AJIora+A+3mRiGDL1nhjeYP7Qj+JoB1U64KHQpkTaPESXx8DaIIQ3YSB jzGH3bdOA8SM+vdaLrQZfY0hrTiLHfTkMwi6V+qgWA== X-Google-Smtp-Source: AGRyM1tge25mCnt5shj9Yd6ABquNh8Ngrj9+FG84cVXYuPEcBT7yP71dGJsOKb6Fute1Sq/P9W4rWnjLnVhHKaJMjtI= X-Received: by 2002:a05:6402:43c4:b0:43a:6309:6c9b with SMTP id p4-20020a05640243c400b0043a63096c9bmr22725476edc.91.1657136689614; Wed, 06 Jul 2022 12:44:49 -0700 (PDT) MIME-Version: 1.0 References: <20220518073232.526443-1-davidgow@google.com> In-Reply-To: <20220518073232.526443-1-davidgow@google.com> From: Brendan Higgins Date: Wed, 6 Jul 2022 15:44:38 -0400 Message-ID: Subject: Re: [PATCH 1/2] kunit: tool: Add x86_64-smp architecture for SMP testing To: David Gow Cc: Daniel Latypov , Marco Elver , Shuah Khan , Dmitry Vyukov , kunit-dev@googlegroups.com, kasan-dev@googlegroups.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 18, 2022 at 3:32 AM 'David Gow' via KUnit Development wrote: > > Add a new QEMU config for kunit_tool, x86_64-smp, which provides an > 8-cpu SMP setup. No other kunit_tool configurations provide an SMP > setup, so this is the best bet for testing things like KCSAN, which > require a multicore/multi-cpu system. > > The choice of 8 CPUs is pretty arbitrary: it's enough to get tests like > KCSAN to run with a nontrivial number of worker threads, while still > working relatively quickly on older machines. > > Signed-off-by: David Gow I know there is some discussion on this patch, but I think this patch is good as implemented; we could always delete this config if we change our policies later. Reviewed-by: Brendan Higgins