From: Ingo Molnar <mingo@kernel.org>
To: Borislav Petkov <bp@alien8.de>
Cc: Xin Li <xin@zytor.com>,
linux-kernel@vger.kernel.org, Juergen Gross <jgross@suse.com>,
Stefano Stabellini <sstabellini@kernel.org>,
"Ahmed S . Darwish" <darwi@linutronix.de>,
Andrew Cooper <andrew.cooper3@citrix.com>,
"H . Peter Anvin" <hpa@zytor.com>,
John Ogness <john.ogness@linutronix.de>,
Linus Torvalds <torvalds@linux-foundation.org>,
Peter Zijlstra <peterz@infradead.org>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH 5/5] x86/cpuid: Use u32 in instead of uint32_t in <asm/cpuid/api.h>
Date: Tue, 18 Mar 2025 12:53:05 +0100 [thread overview]
Message-ID: <Z9leoRHkbu8Kgoed@gmail.com> (raw)
In-Reply-To: <20250318093736.GBZ9k-4Fu_CqwhgYt1@fat_crate.local>
* Borislav Petkov <bp@alien8.de> wrote:
> On Tue, Mar 18, 2025 at 09:34:41AM +0100, Ingo Molnar wrote:
> > That's a stupid rule, I don't know where it came from, and I never
> > enforced it. It's not in Documentation/process/coding-style.rst.
>
> I believe tglx came up with it - section "Changelog" in
>
> Documentation/process/maintainer-tip.rst
>
> Read the examples there.
Literally the first example there is kinda bogus:
Example 1::
...
When a CPU is dying, we cancel the worker and schedule a new worker
on a different CPU on the same domain.
Improved version::
...
When a CPU is dying, the worker is canceled and a new worker is
scheduled on a different CPU in the same domain.
[ Note that I edited the first example to be a true equivalent
transformation to passive voice. The example in maintainer-tip.rst
makes other edits too which make it hard to compare. ]
How is one more word and saying the same thing in a more circumspect
fashion a liguistic improvement?
And you don't have to believe me - I gave an LLM the following prompt:
Which English sentence is easier to understand:
"When a CPU is dying, the worker is canceled and a new worker is
scheduled on a different CPU in the same domain."
or
"When a CPU is dying, we cancel the worker and schedule a new worker
on a different CPU on the same domain."?
And it answered:
The second sentence, "When a CPU is dying, we cancel the worker and
schedule a new worker on a different CPU on the same domain," is easier
to understand. It uses simpler language and a more direct structure,
making it clearer for the reader.
... and although I'd be the first one to distrust an LLM's opinion,
it's correct in this case IMHO.
> And you and I have had this conversation already on IRC. I happen to
> agree with him that "we" is ambiguous - with all those companies
> submitting patches you don't know who's "we" interests are being
> taken care of.
Few people will understand a generic personal pronoun to apply to a
corporate entity magically, unless it's really clear and specific:
"We at Intel believe that this condition cannot occur on Intel
hardware."
in which case it's not a generic personal pronoun anymore.
Or to give another data point: since the v6.13 merge cycle we have
merged over 11,000 commits in the upstream kernel, and over 1,500
contain the word 'we' - over 13% of all commits. This is literally a
pointless battle that creates unnecessary maintenance overhead and
pointless detours for developers.
> And if you formulate your commit message in impersonal tone, it reads a lot
> clearer. It is simply a lot better this way.
Except *not even we* follow it consistently:
starship:~/tip> gl --author=tglx --since=two-years-ago --grep='\<we\>' linus | grep -iw we
by a context from task B and we do the check
So it turns out that we have to do two passes of
"The problem in current microcode loading method is that we load a
microcode way, way too late; ideally we should load it before turning
paging on. This may only be practical on 32 bits since we can't get
to 64-bit mode without paging on, but we should still do it as early
MADT delivers we only trust the hardware anyway.
* booting is too fragile that we want to limit the
Because it's actually a natural and direct linguistic construct.
And have a look at:
$ gl --author=torvalds --since=two-years-ago --grep='\<we\>' linus | grep -iw we
it's 1352 examples of Linus using 'we' as a generic personal pronoun in
the last 2 years alone...
Thanks,
Ingo
next prev parent reply other threads:[~2025-03-18 11:53 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-17 22:18 [PATCH 0/5] x86/cpu: Introduce <asm/cpuid/types.h> and <asm/cpuid/api.h> and clean them up Ingo Molnar
2025-03-17 22:18 ` [PATCH 1/5] x86/cpuid: Refactor <asm/cpuid.h> Ingo Molnar
2025-03-18 12:00 ` [tip: x86/cpu] " tip-bot2 for Ahmed S. Darwish
2025-03-19 11:03 ` [tip: x86/core] " tip-bot2 for Ahmed S. Darwish
2025-03-17 22:18 ` [PATCH 2/5] x86/cpuid: Clean up <asm/cpuid/types.h> Ingo Molnar
2025-03-18 12:00 ` [tip: x86/cpu] " tip-bot2 for Ingo Molnar
2025-03-19 11:03 ` [tip: x86/core] " tip-bot2 for Ingo Molnar
2025-03-17 22:18 ` [PATCH 3/5] x86/cpuid: Clean up <asm/cpuid/api.h> Ingo Molnar
2025-03-18 12:00 ` [tip: x86/cpu] " tip-bot2 for Ingo Molnar
2025-03-19 11:03 ` [tip: x86/core] " tip-bot2 for Ingo Molnar
2025-03-17 22:18 ` [PATCH 4/5] x86/cpuid: Standardize on u32 in <asm/cpuid/api.h> Ingo Molnar
2025-03-18 5:59 ` Xin Li
2025-03-18 12:00 ` [tip: x86/cpu] " tip-bot2 for Ingo Molnar
2025-03-19 11:03 ` [tip: x86/core] " tip-bot2 for Ingo Molnar
2025-03-17 22:18 ` [PATCH 5/5] x86/cpuid: Use u32 in instead of uint32_t " Ingo Molnar
2025-03-18 6:01 ` Xin Li
2025-03-18 8:34 ` Ingo Molnar
2025-03-18 9:37 ` Borislav Petkov
2025-03-18 11:53 ` Ingo Molnar [this message]
2025-03-18 12:15 ` Borislav Petkov
2025-03-18 18:20 ` Ingo Molnar
2025-03-19 8:08 ` Thomas Gleixner
2025-03-19 20:16 ` Ingo Molnar
2025-03-18 12:00 ` [tip: x86/cpu] " tip-bot2 for Ingo Molnar
2025-03-19 11:03 ` [tip: x86/core] " tip-bot2 for Ingo Molnar
2025-03-18 14:05 ` [PATCH 0/5] x86/cpu: Introduce <asm/cpuid/types.h> and <asm/cpuid/api.h> and clean them up H. Peter Anvin
2025-03-18 18:04 ` Ingo Molnar
2025-03-18 18:33 ` Linus Torvalds
2025-03-18 18:46 ` Ingo Molnar
2025-03-18 20:11 ` [PATCH] compiler/gcc: Make asm() templates asm __inline__() by default Ingo Molnar
2025-03-18 22:07 ` Josh Poimboeuf
2025-03-19 4:57 ` Uros Bizjak
2025-03-19 22:34 ` Ingo Molnar
2025-03-20 8:21 ` Uros Bizjak
2025-03-20 8:59 ` Ingo Molnar
2025-03-20 10:30 ` Uros Bizjak
2025-03-20 11:58 ` Uros Bizjak
2025-03-19 3:30 ` [PATCH 0/5] x86/cpu: Introduce <asm/cpuid/types.h> and <asm/cpuid/api.h> and clean them up H. Peter Anvin
-- strict thread matches above, loose matches on Subject: below --
2025-03-17 22:30 mingo
2025-03-17 22:30 ` [PATCH 5/5] x86/cpuid: Use u32 in instead of uint32_t in <asm/cpuid/api.h> mingo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z9leoRHkbu8Kgoed@gmail.com \
--to=mingo@kernel.org \
--cc=andrew.cooper3@citrix.com \
--cc=bp@alien8.de \
--cc=darwi@linutronix.de \
--cc=hpa@zytor.com \
--cc=jgross@suse.com \
--cc=john.ogness@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=sstabellini@kernel.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=xin@zytor.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox