aboutsummaryrefslogtreecommitdiff
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorGravatar Anshuman Khandual <khandual@linux.vnet.ibm.com> 2017-09-08 16:12:45 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org> 2017-09-08 18:26:47 -0700
commitfde26bed588918a11831841b219f74b20b32b080 (patch)
treeecbd7594f122ccd61572430616863592ddc7ef28 /mm/page_alloc.c
parentuserfaultfd: non-cooperative: closing the uffd without triggering SIGBUS (diff)
downloadlinux-fde26bed588918a11831841b219f74b20b32b080.tar.gz
linux-fde26bed588918a11831841b219f74b20b32b080.tar.bz2
linux-fde26bed588918a11831841b219f74b20b32b080.zip
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>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions