linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Davidlohr Bueso <dave@stgolabs.net>
To: akpm@linux-foundation.org
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, dave@stgolabs.net
Subject: [PATCH -part2 0/3] mm: improve handling of mm->exe_file
Date: Wed, 25 Feb 2015 13:58:34 -0800	[thread overview]
Message-ID: <1424901517-25069-1-git-send-email-dave@stgolabs.net> (raw)

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@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

             reply	other threads:[~2015-02-25 21:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-25 21:58 Davidlohr Bueso [this message]
2015-02-25 21:58 ` [PATCH 1/3] tile/elf: reorganize notify_exec() Davidlohr Bueso
2015-03-16 20:05   ` Chris Metcalf
2015-02-25 21:58 ` [PATCH 2/3] oprofile: reduce mmap_sem hold for mm->exe_file Davidlohr Bueso
2015-02-25 21:58 ` [PATCH 3/3] powerpc/oprofile: reduce mmap_sem hold for exe_file Davidlohr Bueso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1424901517-25069-1-git-send-email-dave@stgolabs.net \
    --to=dave@stgolabs.net \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).