Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp205523rwo; Fri, 21 Jul 2023 10:32:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlEyY/sZMeOjiKaNJvI/dbDX8s0pliynhh0VWJbAgTFCU3tYmUOXQAfFms6rqeEn72Cl3EZ7 X-Received: by 2002:a05:6402:334:b0:51e:720:3ae7 with SMTP id q20-20020a056402033400b0051e07203ae7mr2303073edw.3.1689960719615; Fri, 21 Jul 2023 10:31:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689960719; cv=none; d=google.com; s=arc-20160816; b=XevpPdCghQ/cYSMgWJrOxAfHSSEYdhfP4DwC9/w5p3ASbhOZa496bMxT+Evw74I11k vzsuUuk8OW+pcGVv0uv+calGBqybTe2aUISadJXhEerq8abb3vu63HckDkgsAWf2dWPA YdgxhsqJ7plgSlSct9+TpwWwpJ/sGi6138/91BAmER0UZN4Wa7xJdNzI6jRG2ncXQDha g73fvPXWH2NNeJ0fxGrjWhady6aOsh/u/df/MhZ90RJ3esote2BU03wEP2qidQ5mVYGO 9qRBfnOp6lJYbJAYGGJZbYzXr0IA1Rm4wcdaLq8Uxpi6eineMzupFRJ/jaWRD/g42/w9 fK6A== 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=U+cKinTb8afgWpLba+30DXqFyPPfHvxsPK7M5/zbb34=; fh=9qHAUW5LnO7c4m4PbMW4WW66E5AiVu6LfmPXOlSW0Xo=; b=oxAw5NY5BmXFeOvb9dRogVdBmvBkbfj3AOsYIhPZiYHpYI2bpO2t8tutKaVIKg7jz9 Fh+uBVN2xPEhzf4UPJjy6YcD2l34CBOXCpHn11Ll/ffcwyejSOC6B/kWuvUAg17ThgYM 2UBnT2SIjzTSr/POwhaICxouScNzRM4byMk1bAOnS72RYKMTpBE1Or8sxviDQSlZAjo+ ouZCKywcng7nNKv2HOQ556cIOCdIeLGfMcRXseWVhngREUOXiK7Vkh4Qoz0y+IB6iLd1 rlv+o7VMzAb5JVWj3PV2jsZPnqTnoRQK7kh0t6rnf2Dk75pVrntMSxdnnl5UH8xrdpZE mtAA== 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 c10-20020aa7c98a000000b0051e24097920si2811436edt.559.2023.07.21.10.31.34; Fri, 21 Jul 2023 10:31:59 -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 S229926AbjGURai convert rfc822-to-8bit (ORCPT + 99 others); Fri, 21 Jul 2023 13:30:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231213AbjGURaV (ORCPT ); Fri, 21 Jul 2023 13:30:21 -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 9D0873A8E; Fri, 21 Jul 2023 10:30:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 076E961D6D; Fri, 21 Jul 2023 17:30:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCE68C433C7; Fri, 21 Jul 2023 17:30:05 +0000 (UTC) Date: Fri, 21 Jul 2023 13:30:00 -0400 From: Steven Rostedt To: Nadav Amit Cc: Ajay Kaher , "shuah@kernel.org" , "mhiramat@kernel.org" , Ching-lin Yu , Linux Kernel Mailing List , "linux-kselftest@vger.kernel.org" , "linux-trace-kernel@vger.kernel.org" , kernel test robot , "oe-lkp@lists.linux.dev" , Alexey Makhalov , "er.ajay.kaher@gmail.com" , "srivatsa@csail.mit.edu" , Tapas Kundu , Vasavi Sirnapalli Subject: Re: [PATCH v4 00/10] tracing: introducing eventfs Message-ID: <20230721133000.763cd3c3@gandalf.local.home> In-Reply-To: <66DACCE8-1C57-4A30-8ACF-D88179CA6381@vmware.com> References: <1689248004-8158-1-git-send-email-akaher@vmware.com> <20230714185824.62556254@gandalf.local.home> <883F9774-3E76-4346-9988-2788FAF0D55E@vmware.com> <20230718094005.32516161@gandalf.local.home> <2CD72098-08E2-4CAA-B74D-D8C44D318117@vmware.com> <20230719102310.552d3356@gandalf.local.home> <899D0823-A1B2-4A6F-A5BA-0D707F41C3D4@vmware.com> <20230719144046.746af82e@gandalf.local.home> <20230721084839.4a97a595@gandalf.local.home> <20230721091947.0df9fd73@gandalf.local.home> <66DACCE8-1C57-4A30-8ACF-D88179CA6381@vmware.com> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Fri, 21 Jul 2023 17:17:24 +0000 Nadav Amit wrote: > [ And “bool" is clearer type for is_freed. ] Oh, and to answer why I didn't use bool. I want to make sure that it doesn't use just part of the other elements in the union. If the compiler decides to use one byte for the bool (which it is perfectly valid to do so), and it happens to map over a zero of the other elements in the union, then it will give a false negative. By using unsigned long, it will be guaranteed to contain some content. -- Steve