summaryrefslogtreecommitdiffstats
path: root/security/tomoyo
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2015-04-16 21:49:15 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-17 15:04:11 +0200
commitfd89a65f155fa890c0130139dfb91684d6da4cfb (patch)
treec0bc5d80caeaa4f7863205acb59c43db66f57da9 /security/tomoyo
parentoprofile: reduce mmap_sem hold for mm->exe_file (diff)
downloadlinux-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