Live data from Hacker News

“Please don't waste maintainers' time on your KPI grabbing patches”

lkml.org

101–110 of 277 posts

Re: “Please don't waste maintainers' time on your KPI grabbing patches”

#101

> It's OK for first-time/student developers to submit such patches

That's not the same as "anyone but huawei" as the parent comment noted.

Huawei is not being singled out here because huawei or china but because of a specific behavior that's being called out here.

Re: “Please don't waste maintainers' time on your KPI grabbing patches”

#102
post #38

I have worked in team with some kernel developers at Samsung, years ago, so let me put some perspective for those who do not understand the dynamics. In some companies, the amount of patents or Linux kernel patches you get accepted is direct measure of your success. As you know, whatever you measure becomes a target -- these guys feel very pressed to get ANY kernel commits accepted, no matter how small, irrelevant or…

Maintainers need their own metrics that are effective, and publish them and work to have partners use them.

Doesn't work. "When a measure becomes a target, it ceases to be a good measure."

You can totally build something that is a decent metric, but as soon as you create incentives to "game it" (optimize for the metric not the actual goal you're trying to measure), it will be gamed, and creating metrics that are resistant to that is nearly impossible in most cases.

Re: “Please don't waste maintainers' time on your KPI grabbing patches”

#103
Second-stringers do this. They can accumulate all of the certifications, bogus "patches," and patents they want, but they'll still have zero street-cred. What's more, companies who promote and advance based on these factors are only fooling and embarrassing themselves with weak staff.

The other problem is a fair number of Eastern managers don't know or care about the business or management details, they all of want the prestige of a title with the least effort. A lot of no-name businesses in China are more BS than corporate ones elsewhere. After-all, why is there such a huge market for white business actors?

Re: “Please don't waste maintainers' time on your KPI grabbing patches”

#104
post #17

Earlier quoted context omitted.

These small patches create some overhead for maintainers. He actually said in the follow up message that grouping them together is fine. Please at least merge all those small fixes into a larger patchset, and with a good cover letter to explain the reason (and auto-tool to do the change if possible) for all the involved maintainers, so that all of us are on the same page.

I understand the overhead, but it seems like bundling lots of unrelated cleanup fixes into one large commit would make it easier to sneak in something nefarious.

My understanding is that they're not necessarily asking for the commits to be squashed, they're asking for them to be submitted together as a patch series.

Patch series are an important part of a healthy review workflow because they allow both a micro and a macro view of changes. I have written about this before: http://nhaehnle.blogspot.com/2020/06/they-want-to-be-small-t...

Re: “Please don't waste maintainers' time on your KPI grabbing patches”

#105
post #61

Earlier quoted context omitted.

This looks boring. This is a scene that plays out in every company weekly. The stakes are trivial, there is no evidence of ill intent anywhere. Nobody has done anything particularly badly behaved. Nothing here is a shining example of good behaviour. There isn't a feel-good aspect. I suppose the question is, who are the 100+ people who upvoted this, and why?

I agree, I've no idea why it would be at the top of HN. Maybe China-hate?

Hate is a strong word. Dismissing it as simply 'hate' is emotive language (and dishonest, I think) in that it tries to guide the reader to the conclusion that it is completely unreasonable. A more honest word to use would be 'mistrust'

Re: “Please don't waste maintainers' time on your KPI grabbing patches”

#106
post #20

The committer defends his patch, and Qu responds very constructively with this list of more important work to tackle https://lkml.org/lkml/2021/6/21/342

Can we measure "impact" of changes?

PKI measuring just commit count is pretty silly. Like SLOC. Cite folklore.org story of -10,000 lines added.

Whereas Qu's suggestions are useful, important. Am totally ignorant about Linux, kernel, etc. But maybe there's already a leaderboard where the hivemind helps prioritize work.

Re: “Please don't waste maintainers' time on your KPI grabbing patches”

#107
post #38

I have worked in team with some kernel developers at Samsung, years ago, so let me put some perspective for those who do not understand the dynamics. In some companies, the amount of patents or Linux kernel patches you get accepted is direct measure of your success. As you know, whatever you measure becomes a target -- these guys feel very pressed to get ANY kernel commits accepted, no matter how small, irrelevant or…

Maybe a panel of maintainers could publish a quarterly review with attribution/thanks to the most important contributors. No metrics to game, only pure human expert opinions.

Re: “Please don't waste maintainers' time on your KPI grabbing patches”

#108
post #30

I see that these "cleanup" patches are not bringing much value, bust I also don't see why fixing spelling mistakes or log messages is considered as harmful, KPI boosting or not. The maintainer even said if someone else sent those patches it would be OK, but not if Huawei employees do it. If they distrust Huawei so much, why not just ban them from committing, the same way they did recently with university "security re…

It's not about security. It's about wasting reviewers' time. I too would be annoyed if someone was submitting, say, whitespace-only changes, or similar cleanup, non-functional changes - I still have to review them and my time would be better spent looking at actually meaningful changes that make the product better. It's OK if someone is just learning the ropes with an easy change, but this seems to be more like peopl…

There is a certain balance to this however. Where I work we generally have a rule of no formatting changes mixed in with real code changes to make reviewing easier. It's a huge pain to see a ton of white space fixes mixed in with logic changes. As long as they're separate commits in the same pull request it's usually OK. We also generally don't have formatting-only pull requests because it just adds overhead and indirection to git-blame, and doesn't add value to the end product.

Re: “Please don't waste maintainers' time on your KPI grabbing patches”

#109

Earlier quoted context omitted.

>> I see that these "cleanup" patches are not bringing much value, bust I also don't see why fixing spelling mistakes or log messages is considered as harmful, KPI boosting or not. My best guess: It creates a small amount of work for a maintainer to review and merge. This is worthwhile if a new contributor is learning their way around, and getting new contributors is very important to an OSS project. To have a large…

It's true that it creates an overhead for maintainers. But, on the other hand, maybe Linux process needs to be improved to relief the maintainers from having to review every single patch. Linux as a project is big enough, and if maintainers are the bottleneck, maybe it's time to have sub-maintainers to whom such tasks could be delegated.

> maybe it's time to have sub-maintainers to whom such tasks could be delegated

They already have subsystem maintainers. The result was an even faster process.

https://youtu.be/fMeH7wqOwXA

Re: “Please don't waste maintainers' time on your KPI grabbing patches”

#110

Discussion in Chinese online community zhihu if anyone is interested: https://www.zhihu.com/question/466111598/answer/1951896502

>进git看了一下,笑死了。这位华为大佬曾经在一天里对同一个文件提交了6个fix,每一个fix修改注释里面的一个拼写错误,还有一个是调整include 顺序。被reject了以后还发邮件去defend。打个比方就是你假装帮导师做数据,一个数据没做但是一天发给他6个版本,每个版本改论文里的一个错别字,同时要求导师把你名字加到作者里。导师说求你别给我发了,然后你跑去办公室和他争论这个错字很重要,换了谁都要发飙啊。 https://www.zhihu.com/question/466111598/answer/1953367097 this comment is funny.

Yeah some comments are funny and insightful, but again I have no idea whether what they said was true or not.
Post reply on HN