Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10588532rwp; Fri, 21 Jul 2023 01:25:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlHnnPzQOs7LaAlHuvYPZ84SSiSkm7H8NasY6G/sYXuHJJuwepQrm7/QS27WZ7qTVEWrd+vj X-Received: by 2002:a17:906:74de:b0:982:2ece:2a32 with SMTP id z30-20020a17090674de00b009822ece2a32mr1255566ejl.26.1689927906695; Fri, 21 Jul 2023 01:25:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689927906; cv=none; d=google.com; s=arc-20160816; b=nCKCnimMv+hVEY9tJKMzJj2b9q5itc39Qtq/CYrovd28fzB9P9CgXiQS4RPxY4+QMq 2IQJmyPiWf30nnoUvXmZM1UZfRI85/7RBnhkbEPefb5x+KmmswnCbtzHVW1wdTxev6mK BG88QO5k8XnfSZy3wzR/5ey4LApOZ3Sx330PuXyMsI1gyLq1rC0kJxXw6WRFcyO7b7hq 1yxtcMFTjCphHcV01d8KHggFGzVuCHjFe0GxUythYKVpoGaZ+eAkqFxlxoUK6zyTZVK6 an9zsCIkL4xgb2F3U3dmgDMjrZplX7WSfddBujKSZk4JF4oCvstY2Ghia/9UD8Lo8KsI VCZQ== 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=OMiNfezuDp8QZVlAhLlbiIMuGymmCNYB2I4q0EEFUSk=; fh=AAu/ImhLtm2ovl+Ccr/WS2GtaSXprMXkjDtOVOblHBw=; b=scQCCYNupE3EFSwYFbGDEwmD3E+K2aIzAynK4rWZSKMGS0OSA08pCLxJtpzHyyWnAI CHpsEIwrleBPezUgXzgOiiGeFk5TjfmXHdpDF+t7J2vZ6j9L/i1HcDL1HdR3j/anJvbQ TSJib7b2Wia6M8c7yFHGNPJFHAiW5ZklVqVt6plXKEyJPG7RPdSc5z56lO3hp3RyoItW EzlngSMJF6ZtsHDIHSDf75TGOlR5Hx3a7g2BoaEGX8+/KozXK0/Q0LcEStnRyYZLECyJ 7ZTow+SO4EuEtAbp6Wl62ZA0DrTuJEGbmebg43KLZdUXzbn4mB+JWE2sHsg2eKbQqHM5 rlFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YyXOzhQy; 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 g24-20020a170906395800b0098e370bdb01si1756272eje.1052.2023.07.21.01.24.41; Fri, 21 Jul 2023 01:25:06 -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=YyXOzhQy; 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 S231130AbjGUIAB (ORCPT + 99 others); Fri, 21 Jul 2023 04:00:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231276AbjGUH7v (ORCPT ); Fri, 21 Jul 2023 03:59:51 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF03A2708 for ; Fri, 21 Jul 2023 00:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689926339; 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=OMiNfezuDp8QZVlAhLlbiIMuGymmCNYB2I4q0EEFUSk=; b=YyXOzhQytHlXOyshHBZS4QhvFSFbL689tgZkN9gAaC3h0YESVPWPxr9gZSj99KhDLmOk9u SBBgm321fW14vzqAxpwUPjUFiQ9GiEYhC0ZID2xYcTobb1S5EnM/f5/DYskCmp3Kxuf/RU 5gSQULSNyxjhtCF3/a1eGGurzObiaF0= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-66-XAecZ4HWPfGGxXZPUx5CnA-1; Fri, 21 Jul 2023 03:58:57 -0400 X-MC-Unique: XAecZ4HWPfGGxXZPUx5CnA-1 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-30e6153f0eeso881136f8f.0 for ; Fri, 21 Jul 2023 00:58:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689926336; x=1690531136; 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=OMiNfezuDp8QZVlAhLlbiIMuGymmCNYB2I4q0EEFUSk=; b=BNZm19vVqQ3LFYJEcRg7n6wfTn2Xg28LbEB5bTr5fgy7UYPA5q1RVRinHd2I5BYcW8 o6gjh7/qeObV7YdyWw2gt6htzjzkQEmUrJL9OQrKcEL3AQ2Ji/GZ0G7dcGQyUi2AgCOM 4SHbzlkYwZGWpDyisOnOX26CzOyxwyL0K4QNsoB2KUI66uxwOqXVUqPDJTNWKc68nIym pnswZewN19Ijw6Si0mJduGMRUGBNyiDxslIsx0+ESATk2AF8JOkg4FCUkfhT0l85anvK BR1HcapdR0Ho/aM/W8Ke1tRm44CJEYpP/uW0dGuJLTprVK4YLN1xcIBwhsEv9nk8Ryyd JaOg== X-Gm-Message-State: ABy/qLY23VMjRbNRiRRjChx2+hkcMuhoxD/6hRuIWGsCagYY91ZV44dx xWV8AypELGaZ8E5wBTy0Et3Q5ZUosdrnwKrLNNUKO7pVOJFXZ5hokmDqUrNeGRjiEUYbLHgJLO6 p5+lAw+txSC746O1KPrxfPY4r X-Received: by 2002:a5d:6103:0:b0:313:e559:2d4c with SMTP id v3-20020a5d6103000000b00313e5592d4cmr798809wrt.45.1689926336420; Fri, 21 Jul 2023 00:58:56 -0700 (PDT) X-Received: by 2002:a5d:6103:0:b0:313:e559:2d4c with SMTP id v3-20020a5d6103000000b00313e5592d4cmr798794wrt.45.1689926336070; Fri, 21 Jul 2023 00:58:56 -0700 (PDT) Received: from vschneid.remote.csb ([149.12.7.81]) by smtp.gmail.com with ESMTPSA id i7-20020a05600011c700b00313fd294d6csm3510472wrx.7.2023.07.21.00.58.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 00:58:55 -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: <5143d0a9-bc02-4b9a-8613-2383bfdee35c@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> Date: Fri, 21 Jul 2023 08:58:53 +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 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. Thanks!