Re: [PATCH] mm: fix typo in comment

From: Matthew Wilcox
Date: Thu Aug 01 2019 - 11:55:44 EST


On Thu, Aug 01, 2019 at 11:47:34AM -0400, Joel Savitz wrote:
> Fix spelling of successful (currently spelled successfull in kernel
> source)

If you're going to bother fixing the spelling, may as well fix the grammar
at the same time.

> /*
> - * The full zone was compacted scanned but wasn't successfull to compact
> + * The full zone was compacted scanned but wasn't successful to compact
> * suitable pages.
> */

... actually, I don't know what is meant here. Could it mean:

/*
* The full zone was scanned for compaction, but didn't produce
* suitable pages.
*/

> /*
> - * direct compaction has scanned part of the zone but wasn't successfull
> + * direct compaction has scanned part of the zone but wasn't successful
> * to compact suitable pages.

* Zone compaction had to stop before scanning the full zone, and
* no suitable pages were produced.