]> git.baikalelectronics.ru Git - kernel.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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 Feb 2009 01:57:49 +0000 (17:57 -0800)
commit5395399d90570eb915ba21ee98d38b1fc1450f5f
tree85aae17fc20b8a4b6d5112c740950e0dcdcb9baf
parent99d913aa4dd4a6fe4f217a19e9a3f3a652c7765e
vmalloc: call flush_cache_vunmap() from unmap_kernel_range()

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>
Cc: <stable@kernel.org> [2.6.28.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmalloc.c