Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp49213rwo; Fri, 21 Jul 2023 08:21:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlEfXMGByjdUB13tO2P9DjfxK8u21DFO6OFOFGwcC36NEN71B9vfw+PniuHuJz44Tb1tJUPH X-Received: by 2002:a17:90a:9310:b0:262:f0e6:9e09 with SMTP id p16-20020a17090a931000b00262f0e69e09mr1853778pjo.14.1689952869470; Fri, 21 Jul 2023 08:21:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689952869; cv=none; d=google.com; s=arc-20160816; b=Y0ynJeTqGPqIJeCnDid76PbMGZBMGgS8IyiGlEZUneOvFJl6YtQYx2sRDAabUlmjF+ hF7tq2Jfswkden2izL2GKnxfBI5EgOj0Cid+7P03U19GuZv52HeT0Uf30uuxaKy+GpVs LYoRuDN1r0HaDuOw5uaVukAYQmrs45MoLkxqLjvpyCOZ04SnW+FLwL4VJMqM7ygsgqA0 F9sJdCO51+AT4nSWY59XN5bgWs2dFRU/4iuu5BY//dMNIVs5b8vWWFZiPNE6o/AtfzN8 hED7DRikYd1Qu6j5kSASFEFV6dfwHCeu2ES40gonggP2OvU1qMaWe18oa4GRnb2pZgGx 9Eog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=B0XnA9BE8o3D7MPThucf/ZBJtbCoqYoCMw1W8WX/w6k=; fh=AAu/ImhLtm2ovl+Ccr/WS2GtaSXprMXkjDtOVOblHBw=; b=NolkvCGl4Eo67a9zyxPuorQBl/OCAAziI2qig5GT5kkhZqqsboWT38sl2rkJEl6YIg xdLBMTs4pgk/CX/y2tDq4keJEN+Ugu79eykCIc17/hFY7dTp0BYmTt+IZsrX6hGRD6VE HT2tK8hxggUL8DBG+s/M3bYpsz1kwL2uHJbQ+O0i46NYZEzN5piA48xBz8xK+cOYAiIM VD29j8vmmgHIonFndV7TUPml8LAXBCPWz/Mdgpel/6XWFeGz8pihYoOK7Ee6AlbQ67ym EGGEYJ4FcU05dE6A5RbATWDywYGvyJ3RsCLqXEgikP6bbwHn6wTO60JXI2irWlOxZprO iRiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ONBgkK9p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m12-20020a17090ab78c00b002635d3815adsi5669201pjr.74.2023.07.21.08.20.57; Fri, 21 Jul 2023 08:21:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ONBgkK9p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231830AbjGUPJW (ORCPT + 99 others); Fri, 21 Jul 2023 11:09:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231812AbjGUPI6 (ORCPT ); Fri, 21 Jul 2023 11:08:58 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0CB32733 for ; Fri, 21 Jul 2023 08:08:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689952091; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=B0XnA9BE8o3D7MPThucf/ZBJtbCoqYoCMw1W8WX/w6k=; b=ONBgkK9pCE6BavfexrWjRdg+ErMVNZuq3oldVbaIROTrnSTUz8ZtczYYQiMdFawCXaaCjv wB0n0AKFoGZdrKR2tMdONwmvgLLZL2pw1ySF09JnyM2eMtB9TxryYPURZ+cEpswggldefl P9ogWcHVOXmQ82LCQWdsJ+8VjJxCMhk= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-623-kp6ow7NhOe6IdyfOrhUheA-1; Fri, 21 Jul 2023 11:08:09 -0400 X-MC-Unique: kp6ow7NhOe6IdyfOrhUheA-1 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-30e4943ca7fso1048721f8f.3 for ; Fri, 21 Jul 2023 08:08:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689952087; x=1690556887; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=B0XnA9BE8o3D7MPThucf/ZBJtbCoqYoCMw1W8WX/w6k=; b=O8+VjE0goALmeIN4Db9n5UP+6320zesQCjPPuQfBROK57MCv2l1eerCibbPsQEX9ue DNbk9cd98eskU/4psuVAirif7y9DoNFuIsmleX90CsQVYdCG1AiLD/HMkR8CpmshionG 0UDTG1nWmCYZg+/xRLqY4EkMLC15RpJMBNXkrHcbUpdAzgE3tpIFQXgNQ/XaGnMcmShd acQTWVTt2PTV+ZysuZhXDfZ67TD54MZFRMRMz9836KRXa2hTX3xR4yHdOy+fGbe4kM6b xrFnALRrLqU/4jEUFL+uzk11vaJUTaRnTogmU2hZuBTqKuVlZc38TDxDrbNEGTE8SSyf hlFQ== X-Gm-Message-State: ABy/qLY/AcBKvuX6f6OfzO73SVkOY9l+a9/oRLJVHkcxeNLDVoZjkFjy 4WEr4P+LJ2f0dqfI6Dvrfr2e/qy9aA4DTbD3NqT7D6H8UrWXEFa3uSy/CM6A0mBrQWzsFxkqPKD /2uyA76Q0t0ibzwpYpsopUt4B X-Received: by 2002:a5d:65d0:0:b0:311:180d:cf38 with SMTP id e16-20020a5d65d0000000b00311180dcf38mr1610816wrw.24.1689952087589; Fri, 21 Jul 2023 08:08:07 -0700 (PDT) X-Received: by 2002:a5d:65d0:0:b0:311:180d:cf38 with SMTP id e16-20020a5d65d0000000b00311180dcf38mr1610794wrw.24.1689952087302; Fri, 21 Jul 2023 08:08:07 -0700 (PDT) Received: from vschneid.remote.csb ([149.12.7.81]) by smtp.gmail.com with ESMTPSA id j6-20020adfff86000000b0031274a184d5sm4426018wrr.109.2023.07.21.08.08.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:08:06 -0700 (PDT) From: Valentin Schneider To: paulmck@kernel.org Cc: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kvm@vger.kernel.org, linux-mm@kvack.org, bpf@vger.kernel.org, x86@kernel.org, rcu@vger.kernel.org, linux-kselftest@vger.kernel.org, Steven Rostedt , Masami Hiramatsu , Jonathan Corbet , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Paolo Bonzini , Wanpeng Li , Vitaly Kuznetsov , Andy Lutomirski , Peter Zijlstra , Frederic Weisbecker , Neeraj Upadhyay , Joel Fernandes , Josh Triplett , Boqun Feng , Mathieu Desnoyers , Lai Jiangshan , Zqiang , Andrew Morton , Uladzislau Rezki , Christoph Hellwig , Lorenzo Stoakes , Josh Poimboeuf , Jason Baron , Kees Cook , Sami Tolvanen , Ard Biesheuvel , Nicholas Piggin , Juerg Haefliger , Nicolas Saenz Julienne , "Kirill A. Shutemov" , Nadav Amit , Dan Carpenter , Chuang Wang , Yang Jihong , Petr Mladek , "Jason A. Donenfeld" , Song Liu , Julian Pidancet , Tom Lendacky , Dionna Glaze , Thomas =?utf-8?Q?Wei=C3=9Fschuh?= , Juri Lelli , Daniel Bristot de Oliveira , Marcelo Tosatti , Yair Podemsky Subject: Re: [RFC PATCH v2 17/20] rcutorture: Add a test config to torture test low RCU_DYNTICKS width In-Reply-To: <7d2fdbb7-e574-40e8-8561-40a3873abc88@paulmck-laptop> References: <20230720163056.2564824-1-vschneid@redhat.com> <20230720163056.2564824-18-vschneid@redhat.com> <24b55289-1c35-41cc-9ad3-baa957f1c9cb@paulmck-laptop> <5143d0a9-bc02-4b9a-8613-2383bfdee35c@paulmck-laptop> <7d2fdbb7-e574-40e8-8561-40a3873abc88@paulmck-laptop> Date: Fri, 21 Jul 2023 16:08:04 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/07/23 07:07, Paul E. McKenney wrote: > On Fri, Jul 21, 2023 at 08:58:53AM +0100, Valentin Schneider wrote: >> On 20/07/23 21:00, Paul E. McKenney wrote: >> > On Thu, Jul 20, 2023 at 12:53:05PM -0700, Paul E. McKenney wrote: >> >> On Thu, Jul 20, 2023 at 05:30:53PM +0100, Valentin Schneider wrote: >> >> > diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE11 b/tools/testing/selftests/rcutorture/configs/rcu/TREE11 >> >> > new file mode 100644 >> >> > index 0000000000000..aa7274efd9819 >> >> > --- /dev/null >> >> > +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE11 >> >> > @@ -0,0 +1,19 @@ >> >> > +CONFIG_SMP=y >> >> > +CONFIG_NR_CPUS=8 >> >> > +CONFIG_PREEMPT_NONE=n >> >> > +CONFIG_PREEMPT_VOLUNTARY=y >> >> > +CONFIG_PREEMPT=n >> >> > +CONFIG_PREEMPT_DYNAMIC=n >> >> > +#CHECK#CONFIG_TREE_RCU=y >> >> > +CONFIG_HZ_PERIODIC=n >> >> > +CONFIG_NO_HZ_IDLE=n >> >> > +CONFIG_NO_HZ_FULL=y >> >> > +CONFIG_RCU_TRACE=y >> >> > +CONFIG_RCU_FANOUT=4 >> >> > +CONFIG_RCU_FANOUT_LEAF=3 >> >> > +CONFIG_DEBUG_LOCK_ALLOC=n >> >> > +CONFIG_DEBUG_OBJECTS_RCU_HEAD=n >> >> > +CONFIG_RCU_EXPERT=y >> >> > +CONFIG_RCU_EQS_DEBUG=y >> >> > +CONFIG_RCU_LAZY=y >> >> > +CONFIG_RCU_DYNTICKS_BITS=2 >> >> >> >> Why not just add this last line to the existing TREE04 scenario? >> >> That would ensure that it gets tested regularly without extending the >> >> time required to run a full set of rcutorture tests. >> > >> > Please see below for the version of this patch that I am running overnight >> > tests with. Does this one work for you? >> >> Yep that's fine with me. I only went with a separate test file as wasn't >> sure how new test options should be handled (merged into existing tests vs >> new tests created), and didn't want to negatively impact TREE04 or >> TREE06. If merging into TREE04 is preferred, then I'll do just that and >> carry this path moving forwards. > > Things worked fine for this one-hour-per-scenario test run on my laptop, Many thanks for testing! > except for the CONFIG_SMP=n runs, which all got build errors like the > following. > Harumph, yes !SMP (and !CONTEXT_TRACKING_WORK) doesn't compile nicely, I'll fix that for v3.