summaryrefslogtreecommitdiffstats
path: root/mm/Makefile
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2013-04-30 00:08:23 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-30 00:54:37 +0200
commit84d96d897671cfb386e722acbefdb3a79e115a8a (patch)
tree0d7559bf9434ccfd933cfd385ff2c3843e6fd396 /mm/Makefile
parentmm, hotplug: avoid compiling memory hotremove functions when disabled (diff)
downloadlinux-84d96d897671cfb386e722acbefdb3a79e115a8a.tar.xz
linux-84d96d897671cfb386e722acbefdb3a79e115a8a.zip
mm: madvise: complete input validation before taking lock
In madvise(), there doesn't seem to be any reason for taking the &current->mm->mmap_sem before start and len_in have been validated. Incidentally, this removes the need for the out: label. [akpm@linux-foundation.org: s/out_plug/out/, per David] Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/Makefile')
0 files changed, 0 insertions, 0 deletions