Thread (35 messages) 35 messages, 4 authors, 2023-08-23

Re: [RFC PATCH v6 1/5] perf sched: sync state char array with the kernel

flat view

From: Ze Gao <hidden>
Date: 2023-08-03 10:29:54
Also in: linux-perf-users, lkml

On Thu, Aug 3, 2023 at 5:09 PM Steven Rostedt [off-list ref] wrote:
On Thu,  3 Aug 2023 04:33:48 -0400
Ze Gao [off-list ref] wrote:

Hi Ze,
quoted
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 this
patch is important. For example, this patch is really two changes (and thus
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 make
that happen.

2. For the removing the stale macros, the change log can simply state that
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 off
sending a new version immediately after a comment or two. Some maintainers
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 time.
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help