diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2015-04-16 21:49:15 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 15:04:11 +0200 |
commit | fd89a65f155fa890c0130139dfb91684d6da4cfb (patch) | |
tree | c0bc5d80caeaa4f7863205acb59c43db66f57da9 /security/tomoyo | |
parent | oprofile: reduce mmap_sem hold for mm->exe_file (diff) | |
download | linux-fd89a65f155fa890c0130139dfb91684d6da4cfb.tar.xz linux-fd89a65f155fa890c0130139dfb91684d6da4cfb.zip |
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>
Diffstat (limited to 'security/tomoyo')
0 files changed, 0 insertions, 0 deletions