Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1513600imn; Sun, 31 Jul 2022 09:57:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR4EOAMWI5qULXLyDp/r9jqgq801Jp/K0Lt+7FrHPRN5mVxy9ugzyfVG55jtE8JHiYf+hE12 X-Received: by 2002:a05:6402:50d0:b0:43d:a8aa:2373 with SMTP id h16-20020a05640250d000b0043da8aa2373mr678028edb.219.1659286628514; Sun, 31 Jul 2022 09:57:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659286628; cv=none; d=google.com; s=arc-20160816; b=QX0lgE50ucpfnfslkCHLJOoxEca1ivfG1FMaDyLH4lFelu6cGcxI9ocOUxA+lzyJoF 4DS5E9FqL+ViTnqjdzhimQxR56r9yBgFyv4SNrY7GLhbLBzBfCWh7xxSizybMNuiQUF1 qULkjKaunaXm9h/+lfEevRBKRRAg/+2wEMbuWX/JMqCBoYcrZkaart8vuj9HZds6UQdh LB92U7OugTxezKJhRMhwF5fTH05gyhTHsJEcA/uXEAfAMxSpCFxuY6Qef1KRlSqQhqzE ZM6e39d4lxKXk5XIHTUVLxm/psH3cCod2pxkYr5s5MdvrPIA/cG4jB/GRMwQhqMuRR5U 7l8w== 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=3clFqG/D1Qa/vMrnWfAID+1VcWrX7TmGZ4h5wJrWVv8=; b=aYE/6MY3urCZ0BhP9BGuEENRGPTVnwft1u9y6Es1FrhAMHUYdyzRkkaQlDuZ9rS1Ib 0bryrpqPJz/6cMK4ygnSbe6izVOQVYfdGiiVE2BlQw2R6wqiIts8tax0xUA5CJnPg0xM r/GbQrgLNO0Zl9i1JC8YObKOe6/sGeItLZwb6aYLIUnyCEOSyx7cqYPPklHHSLUYX/qv FlJ4RkzxMq18T54PAIye3KsK9fHYO457y4oCx9KZ1zTGNdWG5TYxp5iuGwFINK19cNfo QD/5xF1mh4mAt5I95F97VH0OOMAIHb2jYanZfYEOZkh6jfpMPTk4FRYB7yDtPb7zSuj9 ckVQ== 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 e25-20020aa7d7d9000000b0043d71e04b1dsi2481110eds.233.2022.07.31.09.56.44; Sun, 31 Jul 2022 09:57:08 -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 S236360AbiGaQsf (ORCPT + 99 others); Sun, 31 Jul 2022 12:48:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229558AbiGaQsd (ORCPT ); Sun, 31 Jul 2022 12:48:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15209E02F; Sun, 31 Jul 2022 09:48:33 -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 A55BC60F1F; Sun, 31 Jul 2022 16:48:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50AC6C433C1; Sun, 31 Jul 2022 16:48:31 +0000 (UTC) Date: Sun, 31 Jul 2022 12:48:24 -0400 From: Steven Rostedt To: Daniel Bristot de Oliveira Cc: Tao Zhou , 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 , Randy Dunlap , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-devel@vger.kernel.org Subject: Re: [PATCH V9 01/16] rv: Add Runtime Verification (RV) interface Message-ID: <20220731124824.6d065b86@rorschach.local.home> In-Reply-To: References: <0197dd47-ea15-4d8b-5fc7-e466d8a501a7@kernel.org> 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 Sun, 31 Jul 2022 17:56:27 +0200 Daniel Bristot de Oliveira wrote: > > Yeah, this is not that clear from my above words expression. I said the return > > value of da_monitor_init_*() will be 0, but it is not right. Global and per-cpu > > monitor will return 0, per-task monitor may return a positive value when the > > slot is equal or greater than RV_PER_TASK_MONITOR_INIT(how possible this will > > happen I do know yet). This is from reading the current code implementation. > > I just want to say that there may be a bug here. > > goto my previous email; If you increment RV_PER_TASK_MONITORS to 2, I believe Tao is correct. -- Steve