lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ae2d03441a1b4ab62c9982e006bb21f6006ad713.camel@perches.com>
Date: Fri, 16 Feb 2024 10:04:16 -0800
From: Joe Perches <joe@...ches.com>
To: Andrew Morton <akpm@...ux-foundation.org>, Vlastimil Babka
 <vbabka@...e.cz>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org, Michal Hocko
 <mhocko@...nel.org>, Mel Gorman <mgorman@...hsingularity.net>, Matthew
 Wilcox <willy@...radead.org>, Mike Rapoport <rppt@...nel.org>, Pasha
 Tatashin <pasha.tatashin@...een.com>, Kent Overstreet
 <kent.overstreet@...ux.dev>,  Michal Hocko <mhocko@...e.com>
Subject: Re: [PATCH v2] mm: document memalloc_noreclaim_save() and
 memalloc_pin_save()

On Thu, 2024-02-15 at 15:55 -0800, Andrew Morton wrote:
> + * This function marks the beginning of the __GFP_MEMALLOC allocation scope.
> > ...
> > 
> > + * This function marks the beginning of the ~__GFP_MOVABLE allocation scope.
> 
> pet peeves.  We can assume that the reader knows that this is a
> function!  Perhaps we should teach checkpatch to whine.
> 
> Like "the function foo" and "the function foo()" in changelogs. 
> "foo()" is enough!

IMO: checkpatch should not be a grammar checker.

It's stupid enough as is let alone trying to get
it to analyze sentence structure.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ