Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp485822pxm; Wed, 2 Mar 2022 02:33:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJwx9EmRW6v/78omriUWQj5SS1j4XQ/RfDrf1hc2S2TjjVxdKkbV1o60Pi79Zm32QMxQQGR4 X-Received: by 2002:a62:d156:0:b0:4cd:fd21:e406 with SMTP id t22-20020a62d156000000b004cdfd21e406mr32284607pfl.44.1646217206725; Wed, 02 Mar 2022 02:33:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646217206; cv=none; d=google.com; s=arc-20160816; b=xx+0jVUu3mJPDQyn0A1ifqh4N4QjseS+owz9b9avpN2UJPw39oDwVQvPTv18R9bE9S fROczcrz8MvCIp/Ihy9LExOmpYuMvF7ckR930bOM0DOZpasJwTDQKNLoLdG3mOmRhr+g mORmcQzCJpgLmls1F2XgCLfx8X0vnRdmWqORHKvvKZswaFDdz+9xTek7uTttatzQC+yx FvWv5XsxsoNXnI5HYHbBTTrfP1SxR/vaJqCXJYMnCuwmnPOVoODxhyOa38gKT1Jf0QEM t/hwTnfIXZf1YIIPrt/Fsrs1p6yuLTh2uu4modg4VaypiCfZRnzMf/gyKkdnNd7tCPWk lgpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=iIz8oWlPEUEx3yijPC8c01eBcQSnYwUMlTlXcsQWAYQ=; b=x/p/34FPoBfCQKkuxUen/C5cE582QAxRHPdoANLl8MSF3qyagGu+LSzU9OqT022Iql 4rYWTLG32uQUAucmnwSsXzW+f6Zox6bus821QgO9JGQBD9pUeiAmn7uHx5XfhncmFanp nUORAHVNYtB2Kr4e/ufKWqsmLLDhUvdHDJK1VvUHrCj8K33KuJU114xB2irCfzLPYht7 8WRWCrY7nehYqT/JHPnxU0SnQGADJQmqXKuQsfjpQr+++iymYCo39jz6Mll5apMgVLet adNV/CmXmvdi/Bbz9ljMC6KgHYiLzyH2d298z3fz66vnZXz4DKcPnYEB8IRy+XIxiV2Y yxew== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a4-20020a170902ecc400b0014d2cf04f38si16582625plh.518.2022.03.02.02.33.11; Wed, 02 Mar 2022 02:33:26 -0800 (PST) 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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236496AbiCARay (ORCPT + 99 others); Tue, 1 Mar 2022 12:30:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229623AbiCARax (ORCPT ); Tue, 1 Mar 2022 12:30:53 -0500 Received: from gateway33.websitewelcome.com (gateway33.websitewelcome.com [192.185.145.239]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3C571D315 for ; Tue, 1 Mar 2022 09:30:11 -0800 (PST) Received: from cm13.websitewelcome.com (cm13.websitewelcome.com [100.42.49.6]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 1BD9282B304 for ; Tue, 1 Mar 2022 11:30:11 -0600 (CST) Received: from gator4132.hostgator.com ([192.185.4.144]) by cmsmtp with SMTP id P6KBnjh6Cb6UBP6KBnWoot; Tue, 01 Mar 2022 11:30:11 -0600 X-Authority-Reason: nr=8 Received: from host-95-232-30-176.retail.telecomitalia.it ([95.232.30.176]:40034 helo=[10.0.0.45]) by gator4132.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1nP6KA-002ppM-Do; Tue, 01 Mar 2022 11:30:10 -0600 Message-ID: Date: Tue, 1 Mar 2022 18:30:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH] tracing/osnoise: Force quiescent states while tracing Content-Language: en-US To: Steven Rostedt Cc: paulmck@kernel.org, mingo@redhat.com, linux-kernel@vger.kernel.org, mtosatti@redhat.com, Nicolas Saenz Julienne References: <20220228141423.259691-1-nsaenzju@redhat.com> <20220228104523.01eda61a@gandalf.local.home> <6bd3b0083427c6cf1c860a021e097af9052cdd75.camel@redhat.com> From: Daniel Bristot de Oliveira In-Reply-To: <6bd3b0083427c6cf1c860a021e097af9052cdd75.camel@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4132.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - kernel.org X-BWhitelist: no X-Source-IP: 95.232.30.176 X-Source-L: No X-Exim-ID: 1nP6KA-002ppM-Do X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: host-95-232-30-176.retail.telecomitalia.it ([10.0.0.45]) [95.232.30.176]:40034 X-Source-Auth: kernel@bristot.me X-Email-Count: 3 X-Source-Cap: YnJpc3RvdG1lO2JyaXN0b3RtZTtnYXRvcjQxMzIuaG9zdGdhdG9yLmNvbQ== X-Local-Domain: no X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_SOFTFAIL, T_SCC_BODY_TEXT_LINE autolearn=no 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 3/1/22 11:59, Nicolas Saenz Julienne wrote: >> I wonder if this is similar to what we have in trace_benchmark(). Would >> using: cond_resched_tasks_rcu_qs() work for you? > IIUC this only affects tasks_rcu, and doesn't help with regular RCU. We already > call cond_resched_tasks_rcu_qs() in osnoise when necesary, actually it was > introduced by you. :) I tried using cond_resched_tasks_rcu_qs() to solve the same problem before, it did not work. -- Daniel