Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2180147pxm; Fri, 4 Mar 2022 10:51:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJyF3xrvivzll/nYatw6Wja2cA3uaujPvJ4ZKEWD+1ew6t+YW3B7YPBpmVRxoSwBoGWmykyU X-Received: by 2002:a17:903:2290:b0:150:8ce:963a with SMTP id b16-20020a170903229000b0015008ce963amr42970923plh.53.1646419863817; Fri, 04 Mar 2022 10:51:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646419863; cv=none; d=google.com; s=arc-20160816; b=MPMGhdFhMTkCowfqI6X6CgV35q9FIvsvqT3EkTnRyct2mIkVtlEufOOrVjba3BunlE +kalvMOm0Y4f+7WgQT/AH25Pi+tkGQPosJ8fVX4M+FYj9kd2VOyzlmXbDeXVIoliFyfm 3dDXhMeO/CWZ7CyNC08djlz5hwGUlid6PDY8Ai/msoXiNKkgMCTdPvIBVSiqS6+yRHq8 MqAgVGt/y12+a9RXdS5Z/L/Tfk6kUjDUd5cy9nXBfrLHl+ctpXXTPqHV8f+BJUa+9gef Mwrp0PNEQCjMKI2LWPjjSVyEZdS83LMNjHtc2wcLX9TBsU3kC+W0+dawAgpokCIv1mvR b7Vw== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=Uch525PNzzW/J3vJE1xnSUNTO3TZySaL5iNLrnWYiN8=; b=pfSDenDDG0XiLHOdgmXMoY/5B805dAGrC/6rLWRSuo2f+JzINPRzkQ9TafN4YJVBpS kmsgfw4Uw8yGSuOEvnpaxL2WBEJXv3FdhEkImxYSmeqWYPXjYlyYnGLz6pkC30mAxW2I 0q5k3YUrsxeNgE9wpW74XDjta9c1f5PGgfwY5F6dprdXA1CXkf6/J95k3ubfJKeDQqXb 0zx9ka9I5vY3Ez0ir5V+Jz/17xupdRS4ecz0FRLGDyPIE12DO4eF7kfs7xiPHnaJH901 ps9AyCB5HfJDKDtxt4MUUM4h5EjZaMj7v/PaVmxXv1X0w8Mv4JVxx6q8V08JFd4ixWYZ i4pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gVtSI+Ku; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id g2-20020a635642000000b00378a5448b71si4959754pgm.756.2022.03.04.10.51.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 10:51:03 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gVtSI+Ku; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5A526DA84E; Fri, 4 Mar 2022 10:47:52 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240528AbiCDP4A (ORCPT + 99 others); Fri, 4 Mar 2022 10:56:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234784AbiCDPz7 (ORCPT ); Fri, 4 Mar 2022 10:55:59 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2D46D1C57F7 for ; Fri, 4 Mar 2022 07:55:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646409310; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Uch525PNzzW/J3vJE1xnSUNTO3TZySaL5iNLrnWYiN8=; b=gVtSI+KuVbS2BNvREDoQwo+1IHutc+03r6dFogqBC4IcxxhFr5XsKkU1ssy7Se8QewThzw CoUAxwPy0QflQ939Gr6I5baEegLs5GcXjXtb1nCFJD7K2VFZGW1zYubiGL7qiTs+8+ylwL r5QIOOPWSGNd0Go4Le5rKDFxJQgGrc4= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-37-m-Dg4_WZPAqXYX8TI4jajA-1; Fri, 04 Mar 2022 10:55:09 -0500 X-MC-Unique: m-Dg4_WZPAqXYX8TI4jajA-1 Received: by mail-wm1-f69.google.com with SMTP id v67-20020a1cac46000000b00383e71bb26fso2442515wme.1 for ; Fri, 04 Mar 2022 07:55:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=Uch525PNzzW/J3vJE1xnSUNTO3TZySaL5iNLrnWYiN8=; b=D/s8tEPobD/RDu4zGuIAD8QcgD7fEGG29g/eG+GkmCEbYLJt2l6v+32mGv/aY50F2d XVDIU8yL0Zb0KHY5/gOk0ambXvc8fEvEH9Tln0ZWqrePaHbOeSzuWzjyL0R7fG2ynl51 WR2oEGARkfclq3HbI+ICWTKRkkvMO5gNuOZ5nBurjaS9WyPk6ZihHldje63X+JFaipNO FDyLgWPH7Uk41hofI2fsE3RopozBF3j7258VeLrRuuGdXeJcX8A0AbM0ooBlHukHOBkS GVw5FQhORBJ8L0UoLUbmOiRCACIVkV4mMECAn1ikSEOTtELwrTMda3PfXfRydXix+Svo E1rw== X-Gm-Message-State: AOAM530E/apdvi3wq6E/FS0bnKg/sqQR+9X+dvIaqE6XlOHqkrmVbW5B da9xPdgWYQ6UmFXKZ0nNYFvB8SQW+hP+HDnUDVwOQnMrctF0cRHhH6tnNRGp+uwz99SDF7iXzLw Vng1rj7dD8VgxMhsjp9Apx/Xn X-Received: by 2002:a5d:6852:0:b0:1f0:98e7:a963 with SMTP id o18-20020a5d6852000000b001f098e7a963mr2244689wrw.646.1646409307762; Fri, 04 Mar 2022 07:55:07 -0800 (PST) X-Received: by 2002:a5d:6852:0:b0:1f0:98e7:a963 with SMTP id o18-20020a5d6852000000b001f098e7a963mr2244667wrw.646.1646409307612; Fri, 04 Mar 2022 07:55:07 -0800 (PST) Received: from ?IPv6:2a0c:5a80:1b14:b500:abb:f9d1:7bc2:3db8? ([2a0c:5a80:1b14:b500:abb:f9d1:7bc2:3db8]) by smtp.gmail.com with ESMTPSA id l16-20020a05600c1d1000b003816edb5711sm12563176wms.26.2022.03.04.07.55.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 07:55:07 -0800 (PST) Message-ID: <34833549a995fa3325f4ceb9b42cd01de0921c14.camel@redhat.com> Subject: Re: [PATCH] tracing/osnoise: Force quiescent states while tracing From: Nicolas Saenz Julienne To: Daniel Bristot de Oliveira Cc: mingo@redhat.com, linux-kernel@vger.kernel.org, mtosatti@redhat.com, paulmck@kernel.org, rostedt@goodmis.org, Juri Lelli Date: Fri, 04 Mar 2022 16:55:06 +0100 In-Reply-To: References: <20220228141423.259691-1-nsaenzju@redhat.com> <78d798aa-388c-70bc-4227-985ba76c1d7e@kernel.org> <2b47679c6248a0d113b556ed6118e8ed72c74b29.camel@redhat.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 (3.42.4-1.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_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 Fri, 2022-03-04 at 16:37 +0100, Daniel Bristot de Oliveira wrote: > On 3/4/22 16:28, Nicolas Saenz Julienne wrote: > > Some comments: > > - You're not exiting/entering EQS on IRQ/NMI entry/exit. See > > irqentry_{enter,exit}() and irqentry_nmi_{enter,exit}(). > > hummm, right! > > > - See this series[1], if we ever pursue this approach, it's important we got > > through context tracking, instead of poking at RCU directly. > > I had a test patch with context_tracking as well... entering and leaving using > it. Lemme find it.... but it basically works in the same way as for RCU (or > pretend to work). Yes, agree, it's fundamentally the same. -- Nicolás Sáenz