lkml.org 
[lkml]   [2015]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH -part2 0/3] mm: improve handling of mm->exe_file
Date
This set addresses exe_file use for users that require the mmap_sem
for other things (mostly looking up the related vma->vm_file). In
a lot of cases we end up with scenarios where we take the mmap_sem in
get_mm_exe_file(), just to then take it again soon after. This is only
temporary as we will remove the need for mmap_sem when dealing with
exe_file.

Applies on top of linux-next (-20150225). The arch bits are entirely
100% untested, so I apologize if there are any stupid build issues.

Thanks!

Davidlohr Bueso (3):
tile/elf: reorganize notify_exec()
oprofile: reduce mmap_sem hold for mm->exe_file
powerpc/oprofile: reduce mmap_sem hold for exe_file

arch/powerpc/oprofile/cell/spu_task_sync.c | 13 +++++----
arch/tile/mm/elf.c | 47 ++++++++++++++++++------------
drivers/oprofile/buffer_sync.c | 30 ++++++++++---------
3 files changed, 53 insertions(+), 37 deletions(-)

--
2.1.4



\
 
 \ /
  Last update: 2015-02-25 23:21    [W:0.063 / U:1.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site