Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5742228imw; Wed, 20 Jul 2022 11:33:15 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u9syTumWZpJgG23P6k0+6NYYApMCCYgsYQ9s3zeRQm3drvFbTXQsIXpIiEOSXEnCCYfAfv X-Received: by 2002:a05:6402:3492:b0:43a:d1f0:978e with SMTP id v18-20020a056402349200b0043ad1f0978emr52960595edc.306.1658341995019; Wed, 20 Jul 2022 11:33:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658341995; cv=none; d=google.com; s=arc-20160816; b=euZFHFD0ALAe8frtqob/KLEmTddY2H9CSHyDROFtEXU8Yrf0mRoTo1FBj0xul0e6J5 xCunQT3cPDum5UiH+wCO7hgKzryAvlh+NHrZCCgfBFTuyJ3g7Ah+Y84uv1tBPikfVCuq 7WZmMvdJEmubW8SEFr143QSjHhEKV58MqX5F8KsAVhyyjc/nraPpMCT545+x8hIGknRD 01JOyqaKd9cGbbIPNH/6Y3R6bHqlP92BW0f8DF9VjMFNhMDHbknT/OHvp8cU66LT2nJK laduLtyGVf2d1tfB9UZqe8Au+Y1YzraIX+p94TsXxYIMV7/GQOvMaHnVxtPJzC+z3y3o epmg== 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:subject:cc:to:from:date; bh=DlGvk/okJDzzDiukN38494UGetZvCKhjtHFW+kfqIKE=; b=t4+6dM/cRXYG7LqtxU5KYsDdRoosDFqId5Dl9fnlkzsEelqOWrEWlDDC6jhJ2H+dru aAYyI0uBwjffptwU42MQyLmmyV0hrRjqRz1EbHjk0eE9ykWIb/WYrPFciwTSSfdz9qxq gChhYIVXciJ28QW+pLXXkA7cv6jqmvu1LNrr1meLBWZS5NqVZPunLVVgJczHS18cHo7e l6USD0mpHwacFsRo9FFZNd1mkiRmYdsYLlRGZngEvQ3wRAgeb7foNLE22iqy0VCvLwa5 Q3RdSe2A+3ZKT7+t5KZYA0s6QiklERWbKOfuPhHdFg/8vst4dPgEdKsGyNBUFOvPKRss iipg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he38-20020a1709073da600b007263068d526si2116438ejc.574.2022.07.20.11.32.50; Wed, 20 Jul 2022 11:33:15 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231766AbiGTRpk (ORCPT + 99 others); Wed, 20 Jul 2022 13:45:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230280AbiGTRph (ORCPT ); Wed, 20 Jul 2022 13:45:37 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C2AC3244C; Wed, 20 Jul 2022 10:45:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0829B6151C; Wed, 20 Jul 2022 17:45:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48216C3411E; Wed, 20 Jul 2022 17:45:33 +0000 (UTC) Date: Wed, 20 Jul 2022 13:45:31 -0400 From: Steven Rostedt To: Daniel Bristot de Oliveira Cc: Wim Van Sebroeck , Guenter Roeck , Jonathan Corbet , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Will Deacon , Catalin Marinas , Marco Elver , Dmitry Vyukov , "Paul E. McKenney" , Shuah Khan , Gabriele Paoloni , Juri Lelli , Clark Williams , Tao Zhou , Randy Dunlap , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-devel@vger.kernel.org Subject: Re: [PATCH V6 02/16] rv: Add runtime reactors interface Message-ID: <20220720134531.400b87af@gandalf.local.home> In-Reply-To: References: <4b5f93e3186b067073c1692d4c2b50d0b42101d5.1658244826.git.bristot@kernel.org> <20220720124133.3cdd2c44@gandalf.local.home> <20220720130209.65f501b1@gandalf.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Wed, 20 Jul 2022 19:37:58 +0200 Daniel Bristot de Oliveira wrote: > > That has logic that looks to require a lock to protect things from changing > > from underneath. > > ack, so the only variable I see we can use READ_ONCE/WRITE_ONCE is the reacting_on... WRITE_ONCE() does not supply memory barriers, which you may need. I'm only at patch 3, I'm not sure what the full requirements of that is. -- Steve