[PATCH -part2 0/3] mm: improve handling of mm->exe_file

From: Davidlohr Bueso
Date: Wed Feb 25 2015 - 16:59:00 EST


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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/