]> git.baikalelectronics.ru Git - kernel.git/commit
mm: vmalloc make lazy unmapping configurable
authorNick Piggin <npiggin@suse.de>
Tue, 6 Jan 2009 22:39:20 +0000 (14:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:01 +0000 (15:59 -0800)
commit52773e9dfb29030c72790f4d079c42d76bf6f01b
treec8c3d8e641484618f44dcf3b7d55ba4d42c90750
parent89161416fdb64f568c42a9d0d65d4f1d3aa867c4
mm: vmalloc make lazy unmapping configurable

Lazy unmapping in the vmalloc code has now opened the possibility for use
after free bugs to go undetected.  We can catch those by forcing an unmap
and flush (which is going to be slow, but that's what happens).

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmalloc.c