提交 f4f5329d 编写于 作者: W Wei Yang 提交者: Linus Torvalds

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.comSigned-off-by: NWei Yang <richardw.yang@linux.intel.com>
Reviewed-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 84218b55
...@@ -3105,7 +3105,7 @@ static vm_fault_t do_anonymous_page(struct vm_fault *vmf) ...@@ -3105,7 +3105,7 @@ static vm_fault_t do_anonymous_page(struct vm_fault *vmf)
/* /*
* The memory barrier inside __SetPageUptodate makes sure that * 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. * the set_pte_at() write.
*/ */
__SetPageUptodate(page); __SetPageUptodate(page);
......
...@@ -90,7 +90,7 @@ static int mcopy_atomic_pte(struct mm_struct *dst_mm, ...@@ -90,7 +90,7 @@ static int mcopy_atomic_pte(struct mm_struct *dst_mm,
/* /*
* The memory barrier inside __SetPageUptodate makes sure that * 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. * the set_pte_at() write.
*/ */
__SetPageUptodate(page); __SetPageUptodate(page);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册