Message ID | 20210205090919.63382-1-linmiaohe@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | mm/arm64: Correct obsolete comment in do_page_fault() | expand |
On Fri, 5 Feb 2021 04:09:19 -0500, Miaohe Lin wrote: > 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. 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,
diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c index 304eef9b7d44..eaa373dab731 100644 --- a/arch/arm64/mm/fault.c +++ b/arch/arm64/mm/fault.c @@ -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();
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 <linmiaohe@huawei.com> --- arch/arm64/mm/fault.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)