Message ID | 20200411070307.16021-1-ethp@qq.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | mm/compaction: Fix a typo in comment "pessemistic"->"pessimistic" | expand |
On 4/11/20 12:03 AM, Ethon Paul wrote: > There is a typo in comment, fix it. > > Signed-off-by: Ethon Paul <ethp@qq.com> Reviewed-by: Ralph Campbell <rcampbell@nvidia.com> > --- > 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) { >
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) {
There is a typo in comment, fix it. Signed-off-by: Ethon Paul <ethp@qq.com> --- mm/compaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)