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)
commitcd52858c73f9f7df859a08fb08496ca39b9b3d8d
treec8c3d8e641484618f44dcf3b7d55ba4d42c90750
parente97a630eb0f5b8b380fd67504de6cedebb489003
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