mm: fix typo in the comment when calling function __SetPageUptodate()
Subsystems (3)
PATCH 1/1 mm: fix typo in the comment when calling function __SetPageUptodate()
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 <[email protected]>
--- mm/memory.c | 2 +- mm/userfaultfd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
mm/memory.c +1 -1
@@ -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);
mm/userfaultfd.c +1 -1
@@ -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);
Signature · 1 line
2.17.1