[Drbd-dev] [PATCH 02/11] MM: document and polish read-ahead code.

Andrew Morton akpm at linux-foundation.org
Mon Feb 28 05:47:28 CET 2022


On Mon, 28 Feb 2022 15:28:39 +1100 "NeilBrown" <neilb at suse.de> wrote:

> When writing documentation the intent of the author is of some interest,
> but the behaviour of the code is paramount.

uh, er, ah, no.  The code describes the behaviour of the code.  The
comments are there to describe things other than the code's behaviour.
Things such as the author's intent.

Any deviation between the author's intent and the code's behaviour is
called a "bug", so it's pretty important to understand authorial
intent, no?



More information about the drbd-dev mailing list