Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5600046imw; Wed, 20 Jul 2022 08:41:46 -0700 (PDT) X-Google-Smtp-Source: AGRyM1shKofyi916TBXMGbj9J1wlvnKvpgspgYgtvwAde3DJ/fLfraBr0TduFHS4VlDHY0BYKNnL X-Received: by 2002:a17:902:e78f:b0:16c:8741:fea1 with SMTP id cp15-20020a170902e78f00b0016c8741fea1mr37858060plb.89.1658331706516; Wed, 20 Jul 2022 08:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658331706; cv=none; d=google.com; s=arc-20160816; b=lV3BaJztNhO4vtChNHDs1UGnmUAz9aMJo2kvaE/3cizayF8oHmEQ2wbbvBX4ffIYX3 RZmgvpFTVfFWM6TSE0Aw0jmiBk/qhO3EGCAKjxPIgtehep1DJ/HVjzsA+Lof+EWDshvK iBRHyOZVTyfqNDJ14E0afVc5Ea/x8hZSY4icGxqD9w9eFMIMjtWIDsnSEL9enthdNB6v Tchs3qcRyjeVEDpCdIb8sMmqYvCsgs54S4/h5J6CcdIbjGum5YlSWBOWxZs2feaSjfNq 8xNj2JN1ovbAhAmzEeO1Gxf4r03JGvDNd/c7qTzA7I3R13gx6l84DpVn1oVWDyx8Gh7t grxA== 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:dkim-signature; bh=yWD7EldF4SUE46o+HLPov21gpdTiVBJlRLxf/4NMM5c=; b=B4g92bvNPjdLiFkZFm5PsqWUENAhBMchWYtx8D5DHxPFzN42vobJl+YrlB9THGL7Tl jvy+KPqTn8pQwe34o/enHaC+4xtFih5LnMX6o+ADa2h0NiYKoZFFLbJdtcJy56V2Tmu2 WQRi6E3YFzKjg20qVEZ4r74hBcGAnoVKdhee09u8PZI3sWypvfH+t9oKBFrpRTIeFTA2 y6WoKOegIJU07WlJELWgcRHtwTkxb3C6Cf8tX39oaf/ZTP8tUKGtaEzUS48vad1o1XdK 9SqXE/cZSDi+LpNM8sQ7yGWdTw1XAnlBlZ4cjxL2oB5Pskja5ZoDAs9hxNWTef84YZmn zjJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="F+/iPgUY"; 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 x18-20020a656ab2000000b0041996f0fe2fsi19972106pgu.570.2022.07.20.08.41.32; Wed, 20 Jul 2022 08:41:46 -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=@kernel.org header.s=k20201202 header.b="F+/iPgUY"; 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 S238884AbiGTPdd (ORCPT + 99 others); Wed, 20 Jul 2022 11:33:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237384AbiGTPd2 (ORCPT ); Wed, 20 Jul 2022 11:33:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81E50624A9; Wed, 20 Jul 2022 08:33:27 -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 D462861C81; Wed, 20 Jul 2022 15:33:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6F32C3411E; Wed, 20 Jul 2022 15:33:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658331206; bh=d4mdS9pZTeRzQCM3iqfclNNw6Cc99uSxF1XgR6Nm2dA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=F+/iPgUYr6Evj8LIHJNiNnUsFMXKP3GxHNrVLq2kGnoAFuQIo/HDSHnO8B/BtG3Ia 8ZLP0FymvUvqCSaKcixekcTZ2gKV8z60NgJ8Ph6djL4erJKP1jWqYXXXcmPKBMQn3c 6pPt7L6Kqhl1CpYH6EMv3QXP13N+d0Cf+/WX99GwOJMXE865mk9Qd0P/NMgu21OpKD KgojtGKOlPTXgPn3ARlWkqfGDHVNyLBMNdBn7L79mamq11dtOboB7SKAmmOQ/ZdaXt R/+qn0+twyK29bRlK5BpYaLViEwZ2Gz/2hiCUPcUpAIMgoVi29Et1EoymYnPAGPAwa hM0WCOELMAC7g== Message-ID: <34d07ab4-7c95-ea56-054c-039eee704723@kernel.org> Date: Wed, 20 Jul 2022 17:33:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH V6 01/16] rv: Add Runtime Verification (RV) interface Content-Language: en-US To: Steven Rostedt 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 References: <69bb4c369b4f6f12014eb9ca3c28b74e4378c007.1658244826.git.bristot@kernel.org> <20220720112102.32415cc7@gandalf.local.home> From: Daniel Bristot de Oliveira In-Reply-To: <20220720112102.32415cc7@gandalf.local.home> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, 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 7/20/22 17:21, Steven Rostedt wrote: >> +static void disable_all_monitors(void) >> +{ >> + struct rv_monitor_def *mdef; >> + > I think you need: > > mutex_lock(&rv_interface_lock); > >> + list_for_each_entry(mdef, &rv_monitors_list, list) >> + disable_monitor(mdef); > mutex_unlock(&rv_interface_lock); > >> +} yes, we need. -- Daniel