aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorNikita Ermakov <[email protected]>2021-04-29 22:55:41 -0700
committerLinus Torvalds <[email protected]>2021-04-30 11:20:37 -0700
commitf6899bc03cbadc6e308d98252c4a832b5fd45b87 (patch)
tree047f88de9d3090eda8dd6ef962c4c8cf95c09aae /lib/mpi/mpiutil.c
parent4b17f030fdc821ca58218489e3b7fd8381707849 (diff)
mm/msync: exit early when the flags is an MS_ASYNC and start < vm_start
If an unmapped region was found and the flag is MS_ASYNC (without MS_INVALIDATE) there is nothing to do and the result would be always -ENOMEM, so return immediately. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Nikita Ermakov <[email protected]> Cc: Vlastimil Babka <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions