From: Peter Zijlstra Date: Mon, 21 Sep 2009 14:08:49 +0000 (+0200) Subject: perf_event: Provide vmalloc() based mmap() backing X-Git-Tag: v2.6.32-rc4~28^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=906010b2134e14a2e377decbadd357b3d0ab9c6a;p=pandora-kernel.git perf_event: Provide vmalloc() based mmap() backing Some architectures such as Sparc, ARM and MIPS (basically everything with flush_dcache_page()) need to deal with dcache aliases by carefully placing pages in both kernel and user maps. These architectures typically have to use vmalloc_user() for this. However, on other architectures, vmalloc() is not needed and has the downsides of being more restricted and slower than regular allocations. Signed-off-by: Peter Zijlstra Acked-by: David Miller Cc: Andrew Morton Cc: Jens Axboe Cc: Paul Mackerras LKML-Reference: <1254830228.21044.272.camel@laptop> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed