Skip to content

Commit f4f5329

Browse files
Wei Yangtorvalds
authored andcommitted
mm: fix typos in comments when calling __SetPageUptodate()
There are several places emphasise the effect of __SetPageUptodate(), while the comment seems to have a typo in two places. Link: http://lkml.kernel.org/r/20190926023705.7226-1-richardw.yang@linux.intel.com Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 84218b5 commit f4f5329

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎mm/memory.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3105,7 +3105,7 @@ static vm_fault_t do_anonymous_page(struct vm_fault *vmf)
31053105

31063106
/*
31073107
* The memory barrier inside __SetPageUptodate makes sure that
3108-
* preceeding stores to the page contents become visible before
3108+
* preceding stores to the page contents become visible before
31093109
* the set_pte_at() write.
31103110
*/
31113111
__SetPageUptodate(page);

‎mm/userfaultfd.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ static int mcopy_atomic_pte(struct mm_struct *dst_mm,
9090

9191
/*
9292
* The memory barrier inside __SetPageUptodate makes sure that
93-
* preceeding stores to the page contents become visible before
93+
* preceding stores to the page contents become visible before
9494
* the set_pte_at() write.
9595
*/
9696
__SetPageUptodate(page);

0 commit comments

Comments
 (0)