Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4799689rdb; Tue, 12 Dec 2023 09:34:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IFhquyTdhGvj0Joi6BPdARP7RPgLQS0fvbZOYoQTUV3bI2We9ZK6NFnSk3xsG8b3UeYsnAV X-Received: by 2002:a17:902:b195:b0:1d0:75d8:6ce2 with SMTP id s21-20020a170902b19500b001d075d86ce2mr2569720plr.82.1702402495850; Tue, 12 Dec 2023 09:34:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702402495; cv=none; d=google.com; s=arc-20160816; b=c0pk5PYLwCfJqPD3AK48tRIVP9akXeObrFOvhlC4U5DyMhiayaNtmsr9GrIfUw1/H6 jCWInsauutkvngjmx/N6S18pM6VyxCj4gr9iVI6+3Ra4p2EXMmzYUop/AnPBDcxzg19a I23Wj0Q6d3AyPMiHpHR5smOhf0NS+PUX8Lk6qyJPw9GRGSAXTOZN/Gw/8EzXg8tGo0EO py8NIq2MB7C+NUVCdi0QRGiuir0vmkvnd6KxbzeFUz9qCCcLUbjJtiWaQqmPwSs2Jz68 XyUwRF6L4ct8dh7zwNpNFv4SY9SG2FmPE/PACgyPUkeIbQIf+/w1o5ms/LwvXtEhfofk N3OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Iw+CIAg8alL2TfLLUR0OkhwDoqn5kHDhii4hhgbuJek=; fh=4HjHDDQPeAy2p6+k0yoijJGQxGiPXyBfXUNc6Mv5jtE=; b=QoDDxWIEwZSmwUhaRuDyS5LtNE/atUJp+KAXmjfyVB6AizWbCLuA5FmZnNDP33Y3bQ X89uE+9jGUXaaCYGvz4dZDdjquC9nMbfPU/pqF96C5rLmD/81OX+w+xPIyHaGFLOyg4I J/TVEUj1NFtNoyg96utrfFEh3J+HxiZrnz3LdixK/lJAlyk87M90Vee7AqHD2ZWoJuq+ 43yeTmSIhE+PNQ6Vm4xBR8GLlBKlD4rZHRBHZx4f7lWqyAwqG2KRFCHt/gdECQfROfHq 2G1b9sDLUIruAITKBfoXrTy8RrCDz+2xWuwwIUwlR8oILBifzaDfBfnNr9U6fNy/7kGi saIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DlavEJZG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id cb22-20020a056a02071600b005c6763c095asi8475206pgb.331.2023.12.12.09.34.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 09:34:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DlavEJZG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id E639D80ABDEC; Tue, 12 Dec 2023 09:34:52 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235105AbjLLRee (ORCPT + 99 others); Tue, 12 Dec 2023 12:34:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235066AbjLLReb (ORCPT ); Tue, 12 Dec 2023 12:34:31 -0500 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2920CB9; Tue, 12 Dec 2023 09:34:37 -0800 (PST) Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-28ac11407cfso360952a91.1; Tue, 12 Dec 2023 09:34:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702402475; x=1703007275; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Iw+CIAg8alL2TfLLUR0OkhwDoqn5kHDhii4hhgbuJek=; b=DlavEJZGBXl+5cmGgQwEmIbxX3ePKQdO3tVf57LJ3ea6fpNAsL0uxMoBj0x/6JuVON IAFaw6Obb553wk4DkVLxVM2/Z3u2+dWQVC3gbvs8Od5Ng3clkQX0RUXmYyy56hv5A2kH LxbImWu9cXjKxj2OCoqpVgAVIyTWZVMliqbGzMjD5962ZmTfjQiQzAx6QkIqIOe047zT lwNFe++RtlMFaaawzqgjN8jZOtFH+/F8OUIEMqDYk5NS5AKWf9FswTyjnW7clLFDM49N eyucsIMCYaJ5Cqpuh1EI0CQ4yZC0H4rfHz24CLMslbhG/9pjzxaVRSwmiNuSkKMkcFYW JPSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702402475; x=1703007275; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Iw+CIAg8alL2TfLLUR0OkhwDoqn5kHDhii4hhgbuJek=; b=lcbk5Um76aqpLyEVKqaY4AOORtdJ3fhdQDrx3uO1x82rbxg1SlB2C2HibfJspQrM0Q 9o8Yy+Kw8OihtJwnStsmIPK3yNR6Bxu3jOPjSEIr2pcGsv6xBqlk29ryJPG9BFjFwmqE t1pSFj0PFe0cb65iCGrDIPj/Y8F253pJo6uE56Lr2KrpdlNuTHr3/Uf2VkYzXSmYlYeo w9KFaiTTN2mDRBUql4ITzqBtBUZBYdL/+JGln6Ug8CiKw/6Hd6ql3Wtrs2+ZF16CxMTu RK3OO3LH2UxEsBFj6LofEGhTr6JZYMBA9SMKAGo8J38O+kYTe93BO9VXPOK7xdSUl38o mx8A== X-Gm-Message-State: AOJu0YxoC/i5CMRrpRdR1VnbXviX5fp0/8kbYC4zwdooDDCAxupCcrcf Z/B8Hjnr0ApnD3AhGeIh7lC8+QDgC8CVyOsx X-Received: by 2002:a17:90a:3ec1:b0:280:24c7:509 with SMTP id k59-20020a17090a3ec100b0028024c70509mr2932704pjc.46.1702402474615; Tue, 12 Dec 2023 09:34:34 -0800 (PST) Received: from localhost.localdomain ([101.0.63.152]) by smtp.gmail.com with ESMTPSA id nc4-20020a17090b37c400b00285545ac9d2sm9213862pjb.47.2023.12.12.09.34.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 09:34:34 -0800 (PST) From: "Neeraj Upadhyay (AMD)" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, paulmck@kernel.org, Neeraj.Upadhyay@amd.com, Neeraj Upadhyay Subject: [PATCH rcu 3/4] rcutorture: Add mid-sized stall to TREE07 Date: Tue, 12 Dec 2023 23:04:13 +0530 Message-Id: <20231212173414.11602-3-neeraj.iitr10@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231212173334.GA11572@neeraj.linux> References: <20231212173334.GA11572@neeraj.linux> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 12 Dec 2023 09:34:53 -0800 (PST) From: "Paul E. McKenney" There is code in rcu_implicit_dynticks_qs() that checks for the current grace period being halfway to the RCU CPU stall timeout, but rcutorture currently does not test this code. This commit therefore adds a 14-second stall to the TREE07 scenario in order to test this code given the default RCU CPU stall warning timeout of 21 seconds. Signed-off-by: Paul E. McKenney Signed-off-by: Neeraj Upadhyay (AMD) --- tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot b/tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot index d44609937503..979edbf4c820 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot @@ -1 +1,4 @@ nohz_full=2-9 +rcutorture.stall_cpu=14 +rcutorture.stall_cpu_holdoff=90 +rcutorture.fwd_progress=0 -- 2.40.1