summaryrefslogtreecommitdiff
path: root/mm/memory.c
diff options
context:
space:
mode:
authorYanfei Xu <yanfei.xu@windriver.com>2020-10-14 02:53:26 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-10-14 04:38:31 +0300
commitd383807aaf7796d328a43f20b98b99c2fcc664d7 (patch)
tree72ce58c775c260f22251df41c0821e98465234bf /mm/memory.c
parentb2b29d6d01194404dfef4eafa026959be301705b (diff)
downloadlinux-d383807aaf7796d328a43f20b98b99c2fcc664d7.tar.xz
mm/memory.c: fix typo in __do_fault() comment
It's "pte_alloc_one", not "pte_alloc_pne". Let's fix that. Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: David Hildenbrand <david@redhat.com> Link: http://lkml.kernel.org/r/20200818104339.5310-1-yanfei.xu@windriver.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
-rw-r--r--mm/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c
index eeae590e526a..1ba65e981541 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -3589,7 +3589,7 @@ static vm_fault_t __do_fault(struct vm_fault *vmf)
* unlock_page(A)
* lock_page(B)
* lock_page(B)
- * pte_alloc_pne
+ * pte_alloc_one
* shrink_page_list
* wait_on_page_writeback(A)
* SetPageWriteback(B)