Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2049399rwo; Thu, 3 Aug 2023 04:05:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlGRQ3F1Vabxo+14Urx420h1Au0q81kOXI45EyZPHUf7sC6D3Av2pNCPtC165Yqj91/FBAOn X-Received: by 2002:a05:6a20:9381:b0:135:4858:681 with SMTP id x1-20020a056a20938100b0013548580681mr20753183pzh.9.1691060741665; Thu, 03 Aug 2023 04:05:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691060741; cv=none; d=google.com; s=arc-20160816; b=VrDrHH2zGxWm64APvf+QtgUyr/1gPMvlZY7fWyIAmTzzK6YZbzEoVvBhFlcSCg+bsf 0VA2emhPWq55RabY2SRemoaGmTeOvS8NkZ2FlgXCW9fYboZVCaQ3Xql5gExcfsObllJc akJDPxwVHtampb0Vflwcql/nBXEUkqCO04JKHkHbs2MrAP/tIWUenEuPCmW9HSzl/P+y l6DooBlyILm/YC+pzkov4sSPTQtew19Np08bdcqoBFMwbhFOhQleQ4oaVr94eqlvHE/7 UnUJg+Ri/Iqpa2VE25uRzBR8lGXzWqUEPxMw9CuKpdqugZkUQX9/Js47VUjawOaix7jt DP9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=4OiyaKIKW/8sCsLQAVeJ5l5BBs9EmO+LZdt/VsDvQqE=; fh=i11EqTbJhvgTBLJrKYn2dhvv75Alx1G7BCLiW+AR2Jc=; b=0UKSPUM/f2R7r6HUuSRuBdTdiye67sJhsMW5hV0YfyRmt3N1W5hPcDExHU+GbX7VTJ EBb6JCaQwCa1NmjVVGqBjRuIWe1NYKVDMXV/xGJnb85WkPRwgR3ZFnqEn2bNYYCImvUm dOd8UoVljskGbd/bzsFztFXfJjkACby94TylR0U9SpCf2Aec92JMdSVkI7mXzy2FjtHj 0AqeZZHD2mVr0i+wbMM/FQ6NG8ijNhtRV+KYxj08FyVJ1wHCgbjCHQMXp7gT2MunuJpj mbYFBeW1qEerdFaf9EabGwJOFC/qaaY+W8aEPIrjtUG2i8DHNplgYvJUTuZcXDYZXhyj 3Uvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=B5ETJzlg; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l18-20020a63da52000000b00563d9ff5157si5467820pgj.547.2023.08.03.04.05.29; Thu, 03 Aug 2023 04:05:41 -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=@gmail.com header.s=20221208 header.b=B5ETJzlg; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235258AbjHCK3t (ORCPT + 99 others); Thu, 3 Aug 2023 06:29:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235327AbjHCK3n (ORCPT ); Thu, 3 Aug 2023 06:29:43 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD97330D5; Thu, 3 Aug 2023 03:29:37 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-52229f084beso990243a12.2; Thu, 03 Aug 2023 03:29:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691058576; x=1691663376; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4OiyaKIKW/8sCsLQAVeJ5l5BBs9EmO+LZdt/VsDvQqE=; b=B5ETJzlglwZWPdHU0yRHyqFFHKvtHPuo406G1NvYc9QSbMLbJecDC4bt94oyCXdlJw Vr7agCLRtVILSp7X1aRM/L7vDl/FjfrszUyY4M2MXhq+8Av+wX92+pvvcEJKEDKr9Cgt uib3kAvxwOeXWJffWysJ1dSJ+YMQVKLAgCvRqbJkNpUN/PTFbkB8FWjwhuPqOrfNiF6I QXoC68lcR2JLdNVmnBDQ2M/ELTMtpWw3R28tX+M/qpmBt9PyaypntzFmrasZ9lGxPniF Rm9ml36Q5Bz6pngJaw30YmN8i284U9vROP2R3iBy9VMIyn77yxBQ5dKpw9FF9wZI4yjA 2afQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691058576; x=1691663376; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4OiyaKIKW/8sCsLQAVeJ5l5BBs9EmO+LZdt/VsDvQqE=; b=g9uGVjBBULx0CwpRIOgFFb1f1m71KnZVjP7zmeSKLRVrmDMB6xCKZJzrIKQK18W5WL MpFK/abdQroljxf1rWjY9W/TXN/5K3zgFKQeYCszlHzirPPUVB/28JX1B+EKxvxuQYMU CeGxE7wFf2EXUweu+W8VNAtz+xgHMmrVUNaCKqm4MYRHYmqFqzTHTNo7uJUG5pVHRlgE kkkmrId3kqMccaF9N5MF0lg5nrT3JXVrMOD8HKI5qShztACT5Hc6zIi9ic2jWvlQKR3s tEBNv3MJdMc9zq+UXvifczY6vWu6EQUqeerLL/Dg/+4zKIvNm6PxXn2jxk+f8Ej0tW2s +Q7w== X-Gm-Message-State: AOJu0Yy3VPxpEG0Glo15srb30Sp8SG3dNRrhgfIpEbvwo/SCR2pHXykX yYW2Lec4LZP6vO+uENdzd9BKJCdX4wV4Zd16uHM= X-Received: by 2002:a05:6402:150d:b0:523:9c:2dd3 with SMTP id f13-20020a056402150d00b00523009c2dd3mr3046034edw.40.1691058576140; Thu, 03 Aug 2023 03:29:36 -0700 (PDT) MIME-Version: 1.0 References: <20230803083352.1585-1-zegao@tencent.com> <20230803083352.1585-2-zegao@tencent.com> <20230803050900.5007d2f5@gandalf.local.home> In-Reply-To: <20230803050900.5007d2f5@gandalf.local.home> From: Ze Gao Date: Thu, 3 Aug 2023 18:29:25 +0800 Message-ID: Subject: Re: [RFC PATCH v6 1/5] perf sched: sync state char array with the kernel To: Steven Rostedt Cc: Adrian Hunter , Alexander Shishkin , Arnaldo Carvalho de Melo , Ian Rogers , Ingo Molnar , Jiri Olsa , Mark Rutland , Masami Hiramatsu , Namhyung Kim , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Ze Gao Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,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 Thu, Aug 3, 2023 at 5:09=E2=80=AFPM Steven Rostedt = wrote: > > On Thu, 3 Aug 2023 04:33:48 -0400 > Ze Gao wrote: > > Hi Ze, > > > Update state char array and then remove unused and stale > > macros, which are kernel internal representations and not > > encouraged to use anymore. > > > > A couple of things. > > First, the change logs of every commit need to specify the "why". The > subject can say "what", but the change log really needs to explain why th= is > patch is important. For example, this patch is really two changes (and th= us > should actually be two patches). (I'll also comment on the other patches) Thanks for the feedback! Will elaborate the changes in each changelog. > 1. The update of the state char array. You should explain why it's being > updated. If it was wrong, it needs to state the commit that changed to ma= ke > that happen. > > 2. For the removing the stale macros, the change log can simply state tha= t > the macros are unused in the code and are being removed. > > Finally, I know you're eager to get this patch set in, but please hold of= f > sending a new version immediately after a comment or two. Some maintainer= s > prefer submitters to wait a week or so, otherwise you will tend to "spam" > their inboxes. There's more than one maintainer Cc'd on this series, and = you > need to be courteous not to send too many emails in a short period of tim= e. Noted! Actually I'm in no rush and just to make sure people see the latest patches so they do not have to waste time on the old series. Will hold off to resolve all the comments in this thread. And thanks for pointing this out. Regards, Ze