[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200818104339.5310-1-yanfei.xu@windriver.com>
Date: Tue, 18 Aug 2020 18:43:39 +0800
From: <yanfei.xu@...driver.com>
To: <akpm@...ux-foundation.org>, <david@...hat.com>
CC: <linux-kernel@...r.kernel.org>, <linux-mm@...ck.org>
Subject: [PATCH v2] mm/memory: Fix typo in __do_fault() comment
From: Yanfei Xu <yanfei.xu@...driver.com>
It's "pte_alloc_one", not "pte_alloc_pne". Let's fix that.
Signed-off-by: Yanfei Xu <yanfei.xu@...driver.com>
Reviewed-by: David Hildenbrand <david@...hat.com>
---
v2: modify the commit message
mm/memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/memory.c b/mm/memory.c
index c3a83f4ca851..9cc3d0dc816c 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -3446,7 +3446,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)
--
2.18.2
Powered by blists - more mailing lists