mm/memory.c: Correct the function name in comment
Subsystems (2)
PATCH 1/1 mm/memory.c: Correct the function name in comment
From: Yanfei Xu <[email protected]>
Correct the function name which is "pte_alloc_pne" to "pte_alloc_one"
Signed-off-by Yanfei Xu <[email protected]>
--- mm/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/memory.c +1 -1
@@ -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)
Signature · 1 line
2.18.2
Quoted 4 lines · On 18.08.20 09:29, [email protected] wrote:
From: Yanfei Xu <[email protected]>
Correct the function name which is "
pte_alloc_pne" to "pte_alloc_one"
I'd have phrased this like
"mm/memory: Fix typo in __do_fault() comment
It's "pte_alloc_one", not "pte_alloc_pne". Let's fix that. "
Reviewed-by David Hildenbrand <[email protected]>
Quoted 19 lines
Signed-off-by Yanfei Xu <[email protected]>--- mm/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)mm/memory.c +1
-1@@ -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)
Signature · 3 lines
Thanks, David / dhildenb
Quoted 6 lines · David Hildenbrand
Quoted 4 lines · On 18.08.20 09:29, [email protected] wrote:
From: Yanfei Xu <[email protected]>
Correct the function name which is "
pte_alloc_pne" to "pte_alloc_one"
Quoted 7 lines
I'd have phrased this like
"mm/memory: Fix typo in
__do_fault()commentIt's "
pte_alloc_one", not "pte_alloc_pne". Let's fix that. "
Hah, yours is more clear. I'll send a v2
Thanks for your suggestion. :)
//Yanfei
Quoted 23 lines
Reviewed-by David Hildenbrand <[email protected]>Quoted 19 lines
Signed-off-by Yanfei Xu <[email protected]>--- mm/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)mm/memory.c +1
-1@@ -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)