[PATCH] mm: Fix typos in page-lock unfairness text

From: Sedat Dilek
Date: Sun Sep 20 2020 - 14:08:50 EST


Fix some small typos I have seen (for details see Link).

Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Fixes: 5ef64cc8987a ("mm: allow a controlled amount of unfairness in the page lock")
Link: https://marc.info/?t=159978288400003&r=1&w=2
Signed-off-by: Sedat Dilek <sedat.dilek@xxxxxxxxx>
---
mm/filemap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/filemap.c b/mm/filemap.c
index 6aa08e7714ce..5202e38ab79e 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -990,7 +990,7 @@ void __init pagecache_init(void)

/*
* The page wait code treats the "wait->flags" somewhat unusually, because
- * we have multiple different kinds of waits, not just he usual "exclusive"
+ * we have multiple different kinds of waits, not just the usual "exclusive"
* one.
*
* We have:
@@ -1011,7 +1011,7 @@ void __init pagecache_init(void)
*
* This is the traditional exclusive wait.
*
- * (b) WQ_FLAG_EXCLUSIVE | WQ_FLAG_CUSTOM:
+ * (c) WQ_FLAG_EXCLUSIVE | WQ_FLAG_CUSTOM:
*
* The waiter is waiting to get the bit, and additionally wants the
* lock to be transferred to it for fair lock behavior. If the lock
--
2.28.0