commit | fde26bed588918a11831841b219f74b20b32b080 | [log] [tgz] |
---|---|---|
author | Anshuman Khandual <khandual@linux.vnet.ibm.com> | Fri Sep 08 16:12:45 2017 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Sep 08 18:26:47 2017 -0700 |
tree | ecbd7594f122ccd61572430616863592ddc7ef28 | |
parent | 656710a60e3693911bee3a355d2f2bbae3faba33 [diff] |
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>