summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorEthon Paul <ethp@qq.com>2020-06-05 01:49:43 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2020-06-05 04:06:24 +0200
commit985ba004be29b857f3475eea961af5ac6ea5fa4d (patch)
treecd7b14820ea7fc75f7616d4eeb294b010b9dff6a /mm
parentmm/page-writeback: fix a typo in comment "effictive"->"effective" (diff)
downloadlinux-985ba004be29b857f3475eea961af5ac6ea5fa4d.tar.xz
linux-985ba004be29b857f3475eea961af5ac6ea5fa4d.zip
mm/memory: fix a typo in comment "attampt"->"attempt"
There is a comment in typo, fix it. Signed-off-by: Ethon Paul <ethp@qq.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Link: http://lkml.kernel.org/r/20200411004043.14686-1-ethp@qq.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 60c279295fce..d97e8848892d 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -2467,7 +2467,7 @@ static inline bool cow_user_page(struct page *dst, struct page *src,
}
/*
- * The same page can be mapped back since last copy attampt.
+ * The same page can be mapped back since last copy attempt.
* Try to copy again under PTL.
*/
if (__copy_from_user_inatomic(kaddr, uaddr, PAGE_SIZE)) {