projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9f1b52
)
mm/arm64: Correct obsolete comment in do_page_fault()
author
Miaohe Lin
<linmiaohe@huawei.com>
Fri, 5 Feb 2021 09:09:19 +0000
(
04:09
-0500)
committer
Will Deacon
<will@kernel.org>
Fri, 5 Feb 2021 18:43:47 +0000
(18:43 +0000)
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>
Link:
https://lore.kernel.org/r/20210205090919.63382-1-linmiaohe@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/mm/fault.c
patch
|
blob
|
history
diff --git
a/arch/arm64/mm/fault.c
b/arch/arm64/mm/fault.c
index 3c40da479899dbb667f427ce8206c52d35e0c16e..86a3877ea86fe73dbed6a36359f8f32d9a04c8f0 100644
(file)
--- a/
arch/arm64/mm/fault.c
+++ b/
arch/arm64/mm/fault.c
@@
-564,7
+564,7
@@
retry:
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();