OpenCloudOS-Kernel/arch/powerpc/oprofile
Davidlohr Bueso fd89a65f15 powerpc/oprofile: reduce mmap_sem hold for exe_file
In the future mm->exe_file will be done without mmap_sem serialization,
thus isolate and reorganize the related code to make the transition
easier.  Good users will, make use of the more standard get_mm_exe_file(),
requiring only holding the mmap_sem to read the value, and relying on
reference counting to make sure that the exe file won't dissappear
underneath us while getting the dcookie.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Robert Richter <rric@kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-04-17 09:04:11 -04:00
..
cell powerpc/oprofile: reduce mmap_sem hold for exe_file 2015-04-17 09:04:11 -04:00
Makefile powerpc: Remove oprofile RS64 support 2014-07-28 14:10:25 +10:00
backtrace.c powerpc/oprofile: Disable pagefaults during user stack read 2014-12-02 14:10:08 +11:00
common.c powerpc: Remove oprofile RS64 support 2014-07-28 14:10:25 +10:00
op_model_7450.c powerpc: Delete non-required instances of include <linux/init.h> 2014-01-15 13:46:44 +11:00
op_model_cell.c cpufreq: remove unused notifier: CPUFREQ_{SUSPENDCHANGE|RESUMECHANGE} 2014-03-19 14:10:24 +01:00
op_model_fsl_emb.c powerpc: Delete non-required instances of include <linux/init.h> 2014-01-15 13:46:44 +11:00
op_model_pa6t.c powerpc: Delete non-required instances of include <linux/init.h> 2014-01-15 13:46:44 +11:00
op_model_power4.c powerpc: Delete non-required instances of include <linux/init.h> 2014-01-15 13:46:44 +11:00