]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
vmalloc: call flush_cache_vunmap() from unmap_kernel_range()
authorTejun Heo <tj@kernel.org>
Fri, 20 Feb 2009 23:38:48 +0000 (15:38 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Mar 2009 00:32:12 +0000 (17:32 -0700)
commitdbd17b6e5d8e8141ceab5d96b97120fdc00bf1b6
tree7f9bed4ab662ff014afeea1554d43aa2b4c3acd4
parent47275acc1f1aaad98226740c9f257d741a8cb3d6
vmalloc: call flush_cache_vunmap() from unmap_kernel_range()

commit f6fcba7014f9cc535fa75ef98c008b24e49e2212 upstream.

Impact: proper vcache flush on unmap_kernel_range()

flush_cache_vunmap() should be called before pages are unmapped.  Add
a call to it in unmap_kernel_range().

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Nick Piggin <npiggin@suse.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
mm/vmalloc.c