Re: [PATCH 09/10] coresched: reduce excessive whitespace and verbosity in usage text

Benno Schulenberg <[email protected]>
Newsgroups org.kernel.vger.util-linux
Message-ID <[email protected]>
Op 03-04-2025 om 10:11 schreef Karel Zak:
> On Mon, Mar 31, 2025 at 11:44:42AM +0200, Benno Schulenberg wrote:
>> -	fputsln(_("Manage core scheduling cookies for tasks."), stdout);
>> +	fputsln(_("Manage core-scheduling cookies for tasks."), stdout);

>> -	fputsln(_(" get                      retrieve the core scheduling cookie of a PID"),
>> +	fputsln(_(" get      retrieve the core-scheduling cookie of a PID"), stdout);


> There is a comment from Thijs that kernel docs does not use hyphen, it
> means "core scheduling" rather than "core-scheduling". Maybe it would
> be better to follow kernel.

When speaking of the scheduling itself, it is indeed "core scheduling",
but when using this compound word as an adjective, then it is much
clearer to hyphenate it, to avoid the impression that it is talking
about a _core_, deep, central scheduling cookie.

> https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/core-scheduling.html

In that first paragraph, I would write "Core-scheduling support...".

https://www.grammarly.com/blog/punctuation-capitalization/hyphen-with-compound-modifiers/


Benno
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEFo5vQpe/16ea/USWUUu+Lrjhlh8FAmfuWwAFAwAAAAAACgkQUUu+Lrjhlh9E
wBAA75YnmfVyHEm6vn/yyLm2AJMsP2jQCL800IRy9AF0xkE5xlc/qHt3b/uME7n80ZyqWicN1ol5
ykm5yWfcc2bg0xmK4XEMgs+bSffPhwltacXCd1AJmI73vGSyphoc2s2lp7DqolTQcP845QQG25ri
bz40BbqPDEn//2vYtjZrGX0lgfI2EFCwLSMPlrM46iGawUUg0yu899Hs+OmUZetm3XWc7Be49JPt
ljN4IHglCgx/I7eN1tMIiQmaxNT9UFMA78ZtgE9gJRHQ5x4A2UEUh7Bf9LNiBBVjsd7ARyZqNdtP
ISpvteuN1fpqt3afUJ97WC46BNme1cq6CDMTLQV9WrMSbOP2Iz6V2PQA3yWqKWzAtR2fOKsbfopA
XSkbWRzqHo8YxSHNDNklJ1uTQZubOc1VL1j2FigW+GPhS0NRgyhnZia7RDkZE5kygl8soCJkM816
ePfi3/DE9dMJPgxr9/hE7/IM8bCERWxfnaABha0wom4rhNjeq6eU2nCRy7axvA6B8gH02CtZZ/4I
BBuD7MJQrIKuswm6CVpQQAXmtG/lkxOp9ulKoSuMGT6/DJoJCSoBIcnBZSizn/UlBRn3ch2Z5uAp
mnNTXjHOt1t1SZD0gYHfzGcb5J+gD2tPtFbm7GgjJpcbhIISDLNHx5sa8n9WQXaKxVtL3VYoWruQ
Cno=
=7dkG
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.