* [PATCH] mm: fix typo in the comment when calling function __SetPageUptodate()
@ 2019-09-26 2:37 Wei Yang
0 siblings, 0 replies; only message in thread
From: Wei Yang @ 2019-09-26 2:37 UTC (permalink / raw)
To: akpm, willy, jglisse, rcampbell; +Cc: linux-mm, linux-kernel, Wei Yang
There are several places emphasise the effect of __SetPageUptodate(),
while the comment seems to have a typo in two places.
Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
---
mm/memory.c | 2 +-
mm/userfaultfd.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/memory.c b/mm/memory.c
index b1ca51a079f2..3ac2803d49b8 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -3009,7 +3009,7 @@ static vm_fault_t do_anonymous_page(struct vm_fault *vmf)
/*
* The memory barrier inside __SetPageUptodate makes sure that
- * preceeding stores to the page contents become visible before
+ * preceding stores to the page contents become visible before
* the set_pte_at() write.
*/
__SetPageUptodate(page);
diff --git a/mm/userfaultfd.c b/mm/userfaultfd.c
index 80834c644692..c153344774c7 100644
--- a/mm/userfaultfd.c
+++ b/mm/userfaultfd.c
@@ -90,7 +90,7 @@ static int mcopy_atomic_pte(struct mm_struct *dst_mm,
/*
* The memory barrier inside __SetPageUptodate makes sure that
- * preceeding stores to the page contents become visible before
+ * preceding stores to the page contents become visible before
* the set_pte_at() write.
*/
__SetPageUptodate(page);
--
2.17.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-09-26 2:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-26 2:37 [PATCH] mm: fix typo in the comment when calling function __SetPageUptodate() Wei Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox