Skip to contentSkip to conversation

mm/compaction: Fix a typo in comment "pessemistic"->"pessimistic"

PATCH Applied Ethon Paul 2 participants 2 messages Apr 11, 2020 – Apr 15, 2020

Subsystems (2)
lore
Share & tools
lore

Ethon Paul

author
#0 lore raw

PATCH 1/1 mm/compaction: Fix a typo in comment "pessemistic"->"pessimistic"

There is a typo in comment, fix it.

---
 mm/compaction.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/compaction.c +1 -1
index 46f0fcc93081..17e41b43db4f 100644
@@ -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) {
Signature · 1 line
2.24.1 (Apple Git-126)
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Ethon Paul

There is a typo in comment, fix it.

Quoted 18 lines
---
  mm/compaction.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
mm/compaction.c +1 -1
index 46f0fcc93081..17e41b43db4f 100644
@@ -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) {