Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1078512pxv; Thu, 1 Jul 2021 16:51:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoVfIwO0VCKf0ReEUE4eo6jGHfat1ylKzTHCVLVMLnXP6drgdy8MzWTx2EoCgr8zUHvkYb X-Received: by 2002:a17:907:2d07:: with SMTP id gs7mr2401181ejc.375.1625183478531; Thu, 01 Jul 2021 16:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625183478; cv=none; d=google.com; s=arc-20160816; b=d97KOK2VQLOLo7hjgSzx2dsrwY/IffOl6Q845Bqn0l7Kwj2Wh2CvSmv5LWx4g7fNwP sADSYqFo3bc6YLI4fHqvouWflQAV3ykpUBYfPVErehHeTChwoo2DB67gTDwmM2+7b/YG Ar3IhdEnce/2uyusL9l85bGYXSarg2F3E+9R/iuHsVLd5QAqGVFjvqqGBVv4p+cn0AW7 JUeMhlsDKVJI0D0OgQHJJWO/gxYckW+g0kssN9jzuekQGbshd+zRRCVuzLMMtzHWrs1k GzLN+ySz4S9YtVGu2rVAsng9BBU9VvX3Z8yPbwxfupi21D53nf9fdyU8Quj7cnGRtLH5 XSYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=XdggwryIUp9QtckUNzdZvsJzKexlZ+NGR6XKEUlG0tk=; b=fhVo6TQLx9tBn+mYc5yOoRyT8U3xR8jTzMvWCNnhzQA5E0aSr9eqoD7yuA0DWegT9y 5Gt/WDMRHUnqg4gHfmZ2zRdbCT8Wduo/RHyyp3oHYgx4rk+OT8eaJ2tcCNfZQyhrSU98 txgNcVhfyItVqr1/ici6EDcqKuMRY62WQI6xJYExXrMFyKXQhxwWuK05vRWUCjUyV04D 8d8v4dIgOH/QQMY2aYviVIRcyt65MDjwnnpGZFKY7rWz3cdbXqE5xBpgY5IiNuprLqwv zLDa0EeT62Uq553PdfS4epiuTFs+csSwHjcAwggJ4axtDPWbrsYy9SH+Pk20OFQZQNuJ 44kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="JhO/r7KT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si1174640edt.405.2021.07.01.16.50.55; Thu, 01 Jul 2021 16:51:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="JhO/r7KT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234251AbhGAXwd (ORCPT + 99 others); Thu, 1 Jul 2021 19:52:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234063AbhGAXwc (ORCPT ); Thu, 1 Jul 2021 19:52:32 -0400 Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D452C061762 for ; Thu, 1 Jul 2021 16:50:01 -0700 (PDT) Received: by mail-qt1-x832.google.com with SMTP id j10so4032500qtx.13 for ; Thu, 01 Jul 2021 16:50:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XdggwryIUp9QtckUNzdZvsJzKexlZ+NGR6XKEUlG0tk=; b=JhO/r7KTD/sn2gY+rlBgDO2A8GJC4yCyDOe+QQtQTFbxnRrQd7HYgtKbPvsagxRZQD 1XnUkCjVNwzbnOIVBsTuDcwaaZJMqOuy+7XYSNpxaBRRsWwyL38///A22cTQ7GkT02C+ +XeY28vzty/smthsGg5qtpk5IsHTJgBYjo23ctVuqJYoV6T/HKv0A/3PoT0jCyFaldLs BYBDYSnrtp2zhvwf12gyeoGK64RYQk1RkumzRK/i6AfGq0hMRPDff0rxUajnY6KVS+Ia v+2ZjxoOBDC8Zh1yjScRtTsVwOQa3AlHEUFuTkN8BPYwwboBJVDNCOvxEA36slsPWkth z08A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XdggwryIUp9QtckUNzdZvsJzKexlZ+NGR6XKEUlG0tk=; b=in5X9Lrijeo4uonUqBOb/gsX7NoGCfOX9Rrpuijs8Q5cDkeYPh7mHLfYJKvx6KfTBP qP2KfYp/OiR5QiXNrAXr5ISP28it7PJz9G8vPjbDMlVwsY5bExAciNqxB8IcIovZmhTe uY7AygKVq14D+oH7g6uiPqxype0/yVILtHgXrVkSmrcUGpqvL9WdAcx1GAZssD8Tn03t grKWNUNBB5qdhpp+b9pERrjuPijl44OkoZA+qMEk9KNnxqb0QYOUG1fWrHL1AsNHo3Rc dvJUt1aYbmw4GOMqCagHZSKoikkg2Xbgr+0R2KnBlP2Gpe72tDFKIMUy0/+kHTw513dH u8Ng== X-Gm-Message-State: AOAM531eQUvFtICY/MPwR7/YksnvSVoRHWUrlyXo02y50AnbO7B/KG1z jYJEBAyu9jZUsRCE9a/saHhq266rWWgwdLZG1HcyvQ== X-Received: by 2002:ac8:57d6:: with SMTP id w22mr1260062qta.153.1625183400171; Thu, 01 Jul 2021 16:50:00 -0700 (PDT) MIME-Version: 1.0 References: <20210630003406.4013668-1-paulburton@google.com> <20210701140754.5847a50f@oasis.local.home> <20210701142624.44bb4dde@oasis.local.home> <51babd56c2fe53ba011152700a546151@perches.com> <20210701155100.3f29ddfb@oasis.local.home> <5666edba28107559db23ba0f948c1f82@perches.com> In-Reply-To: <5666edba28107559db23ba0f948c1f82@perches.com> From: Joel Fernandes Date: Thu, 1 Jul 2021 19:49:49 -0400 Message-ID: Subject: Re: [PATCH 1/2] tracing: Simplify & fix saved_tgids logic To: Joe Perches Cc: Steven Rostedt , Paul Burton , linux-kernel@vger.kernel.org, Ingo Molnar , stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 1, 2021 at 5:07 PM Joe Perches wrote: > > On 2021-07-01 12:51, Steven Rostedt wrote: > > On Thu, 01 Jul 2021 12:35:29 -0700 > > Joe Perches wrote: > > > >> C99 comments are allowed since about 5 years ago. > > > > Really, I thought Linus hated them. Personally, I find them rather ugly > > myself. The only user of them I see in the kernel/ directory appears to > > be for RCU. But Paul's on the C/C++ committee, so perhaps he favors > > them. > > > > The net/ directory doesn't have any, except perhaps to comment out code > > (which I sometimes use it for that too). > > > > The block/, arch/x86/ directories don't have them either. > > > > I wouldn't go and change checkpatch, but I still rather avoid them, > > especially for multi line comments. > > > > /* > > * When it comes to multi line comments I prefer using something > > * that denotes a start and an end to the comment, as it makes it > > * look like a nice clip of information. > > */ > > > > Instead of: > > > > // When it comes to multi line comments I prefer using something > > // that denotes a start and an end to the comment, as it makes it > > // look like a nice clip of information. > > > > Which just looks like noise. But hey, maybe that's just me because I > > find "*" as a sign of information and '//' something to ignore. ;-) > > May I suggest using something other than an amber vt220? Steve - mostly comments are to be ignored and the code is the ultimate source of truth ;-), so // is fine :-D That said, don't discard the amber vt220 I recently sent you just because Joe says so ;-) <:o) - Joel