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 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>