Repository navigation
Commit fde26be
mm/memory.c: remove reduntant check for write access
Flags argument has been copied into vmf.flags and it is not changed in
between. Hence a single write access check can be used for both PUD and
PMD.
Link: http://lkml.kernel.org/r/20170823082839.1812-1-khandual@linux.vnet.ibm.com
Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 656710a commit fde26be
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3961 | 3961 | | |
3962 | 3962 | | |
3963 | 3963 | | |
| 3964 | + | |
3964 | 3965 | | |
3965 | 3966 | | |
3966 | 3967 | | |
| |||
3983 | 3984 | | |
3984 | 3985 | | |
3985 | 3986 | | |
3986 | | - | |
3987 | 3987 | | |
3988 | 3988 | | |
3989 | 3989 | | |
| |||
4020 | 4020 | | |
4021 | 4021 | | |
4022 | 4022 | | |
4023 | | - | |
4024 | | - | |
| 4023 | + | |
4025 | 4024 | | |
4026 | 4025 | | |
4027 | 4026 | | |
| |||
0 commit comments