2020-04-16 00:57:59

by Ralph Campbell

[permalink] [raw]
Subject: Re: [PATCH] mm/compaction: Fix a typo in comment "pessemistic"->"pessimistic"


On 4/11/20 12:03 AM, Ethon Paul wrote:
> There is a typo in comment, fix it.
>
> Signed-off-by: Ethon Paul <[email protected]>

Reviewed-by: Ralph Campbell <[email protected]>

> ---
> mm/compaction.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/compaction.c b/mm/compaction.c
> index 46f0fcc93081..17e41b43db4f 100644
> --- a/mm/compaction.c
> +++ b/mm/compaction.c
> @@ -1401,7 +1401,7 @@ fast_isolate_freepages(struct compact_control *cc)
> if (scan_start) {
> /*
> * Use the highest PFN found above min. If one was
> - * not found, be pessemistic for direct compaction
> + * not found, be pessimistic for direct compaction
> * and use the min mark.
> */
> if (highest) {
>