]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mm/memory.c: fix typo in __do_fault() comment
authorYanfei Xu <yanfei.xu@windriver.com>
Tue, 13 Oct 2020 23:53:26 +0000 (16:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 14 Oct 2020 01:38:31 +0000 (18:38 -0700)
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>
mm/memory.c

index eeae590e526aa845c83a793cfc658f2f90e60ec6..1ba65e981541b9bf567ac9edd8d4c8eaf3cfabc3 100644 (file)
@@ -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)