mm/arm64: Correct obsolete comment in do_page_fault()
PATCH 1/1 mm/arm64: Correct obsolete comment in do_page_fault()
commit d8ed45c5dcd4 ("mmap locking API: use coccinelle to convert mmap_sem rwsem call sites") has convertd down_read_trylock() to mmap_read_trylock(). But it forgot to update the relevant comment.
Signed-off-by Miaohe Lin <[email protected]>
--- arch/arm64/mm/fault.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/mm/fault.c +1 -1
@@ -576,7 +576,7 @@ static int __kprobes do_page_fault(unsigned long far, unsigned int esr,mmap_read_lock (mm); }else {/* -* The above down_read_trylock() might have succeeded in which +* The above mmap_read_trylock() might have succeeded in which * case, we'll have missed the might_sleep() from down_read(). */ might_sleep ();
Signature · 7 lines
2.19.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 3 lines · Miaohe Lin
commit
d8ed45c5dcd4("mmap locking API: use coccinelle to convertmmap_semrwsem call sites") has convertddown_read_trylock()tommap_read_trylock(). But it forgot to update the relevant comment.
Applied to arm64 (for-next/cosmetic), thanks!
[1/1] mm/arm64: Correct obsolete comment in do_page_fault()
https://git.kernel.org/arm64/c/abd4737f67d7
Cheers,
Signature · 10 lines
Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel