All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: Andrea Arcangeli <aarcange@redhat.com>
Cc: Avi Kivity <avi@redhat.com>, Thomas Gleixner <tglx@linutronix.de>,
	Rik van Riel <riel@redhat.com>, Ingo Molnar <mingo@elte.hu>,
	akpm@linux-foundation.org,
	Linus Torvalds <torvalds@linux-foundation.org>,
	linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org,
	linux-mm@kvack.org,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	David Miller <davem@davemloft.net>,
	Hugh Dickins <hugh.dickins@tiscali.co.uk>,
	Mel Gorman <mel@csn.ul.ie>, Nick Piggin <npiggin@kernel.dk>,
	Paul McKenney <paulmck@linux.vnet.ibm.com>,
	Yanmin Zhang <yanmin_zhang@linux.intel.com>
Subject: Re: [PATCH 0/8] mm: Preemptibility -v8
Date: Thu, 17 Feb 2011 18:36:24 +0100	[thread overview]
Message-ID: <1297964184.2413.2029.camel@twins> (raw)
In-Reply-To: <20110217170520.229881980@chello.nl>

On Thu, 2011-02-17 at 18:05 +0100, Peter Zijlstra wrote:
> This series depends on the previous two series:
>   - mm: Simplify anon_vma lifetime rules
>   - mm: mmu_gather rework
> 
> These patches make part of the mm a lot more preemptible. It converts
> i_mmap_lock and anon_vma->lock to mutexes which together with the mmu_gather
> rework makes mmu_gather preemptible as well.
> 
> Making i_mmap_lock a mutex also enables a clean-up of the truncate code.
> 
> This also allows for preemptible mmu_notifiers, something that XPMEM I think
> wants.

---
 Documentation/lockstat.txt   |    2 
 Documentation/vm/locking     |    2 
 arch/x86/mm/hugetlbpage.c    |    4 
 fs/gfs2/main.c               |    2 
 fs/hugetlbfs/inode.c         |    4 
 fs/inode.c                   |    2 
 fs/nilfs2/page.c             |    2 
 include/linux/fs.h           |    3 
 include/linux/huge_mm.h      |    8 -
 include/linux/lockdep.h      |    3 
 include/linux/mm.h           |    2 
 include/linux/mm_types.h     |    1 
 include/linux/mmu_notifier.h |    2 
 include/linux/mutex.h        |    9 +
 include/linux/rmap.h         |   29 +-----
 kernel/fork.c                |    5 -
 kernel/mutex.c               |   25 +++--
 mm/filemap.c                 |   10 +-
 mm/filemap_xip.c             |    4 
 mm/fremap.c                  |    4 
 mm/huge_memory.c             |    4 
 mm/hugetlb.c                 |   14 +--
 mm/memory-failure.c          |    4 
 mm/memory.c                  |  197 ++++++-------------------------------------
 mm/migrate.c                 |   17 ---
 mm/mmap.c                    |   43 +++------
 mm/mremap.c                  |    7 -
 mm/rmap.c                    |  171 +++++++++++++++++++++++++++++--------
 28 files changed, 258 insertions(+), 322 deletions(-)

--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

WARNING: multiple messages have this Message-ID (diff)
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: Andrea Arcangeli <aarcange@redhat.com>
Cc: Avi Kivity <avi@redhat.com>, Thomas Gleixner <tglx@linutronix.de>,
	Rik van Riel <riel@redhat.com>, Ingo Molnar <mingo@elte.hu>,
	akpm@linux-foundation.org,
	Linus Torvalds <torvalds@linux-foundation.org>,
	linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org,
	linux-mm@kvack.org,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	David Miller <davem@davemloft.net>,
	Hugh Dickins <hugh.dickins@tiscali.co.uk>,
	Mel Gorman <mel@csn.ul.ie>, Nick Piggin <npiggin@kernel.dk>,
	Paul McKenney <paulmck@linux.vnet.ibm.com>,
	Yanmin Zhang <yanmin_zhang@linux.intel.com>
Subject: Re: [PATCH 0/8] mm: Preemptibility -v8
Date: Thu, 17 Feb 2011 18:36:24 +0100	[thread overview]
Message-ID: <1297964184.2413.2029.camel@twins> (raw)
Message-ID: <20110217173624.NTh2xOZoIbYViOVnzYqbSgmXekBq0qfb2CLPkCPo_yA@z> (raw)
In-Reply-To: <20110217170520.229881980@chello.nl>

On Thu, 2011-02-17 at 18:05 +0100, Peter Zijlstra wrote:
> This series depends on the previous two series:
>   - mm: Simplify anon_vma lifetime rules
>   - mm: mmu_gather rework
> 
> These patches make part of the mm a lot more preemptible. It converts
> i_mmap_lock and anon_vma->lock to mutexes which together with the mmu_gather
> rework makes mmu_gather preemptible as well.
> 
> Making i_mmap_lock a mutex also enables a clean-up of the truncate code.
> 
> This also allows for preemptible mmu_notifiers, something that XPMEM I think
> wants.

---
 Documentation/lockstat.txt   |    2 
 Documentation/vm/locking     |    2 
 arch/x86/mm/hugetlbpage.c    |    4 
 fs/gfs2/main.c               |    2 
 fs/hugetlbfs/inode.c         |    4 
 fs/inode.c                   |    2 
 fs/nilfs2/page.c             |    2 
 include/linux/fs.h           |    3 
 include/linux/huge_mm.h      |    8 -
 include/linux/lockdep.h      |    3 
 include/linux/mm.h           |    2 
 include/linux/mm_types.h     |    1 
 include/linux/mmu_notifier.h |    2 
 include/linux/mutex.h        |    9 +
 include/linux/rmap.h         |   29 +-----
 kernel/fork.c                |    5 -
 kernel/mutex.c               |   25 +++--
 mm/filemap.c                 |   10 +-
 mm/filemap_xip.c             |    4 
 mm/fremap.c                  |    4 
 mm/huge_memory.c             |    4 
 mm/hugetlb.c                 |   14 +--
 mm/memory-failure.c          |    4 
 mm/memory.c                  |  197 ++++++-------------------------------------
 mm/migrate.c                 |   17 ---
 mm/mmap.c                    |   43 +++------
 mm/mremap.c                  |    7 -
 mm/rmap.c                    |  171 +++++++++++++++++++++++++++++--------
 28 files changed, 258 insertions(+), 322 deletions(-)


  parent reply	other threads:[~2011-02-17 17:36 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-17 17:05 [PATCH 0/8] mm: Preemptibility -v8 Peter Zijlstra
2011-02-17 17:05 ` Peter Zijlstra
2011-02-17 17:05 ` Peter Zijlstra
2011-02-17 17:05 ` [PATCH 1/8] lockdep, mutex: Provide mutex_lock_nest_lock Peter Zijlstra
2011-02-17 17:05   ` Peter Zijlstra
2011-02-17 17:05   ` Peter Zijlstra
2011-02-17 17:05 ` [PATCH 2/8] mm: Remove i_mmap_mutex lockbreak Peter Zijlstra
2011-02-17 17:05   ` Peter Zijlstra
2011-02-17 17:05   ` Peter Zijlstra
2011-02-17 17:46   ` KAMEZAWA Hiroyuki
2011-02-17 17:46     ` KAMEZAWA Hiroyuki
2011-02-17 17:05 ` [PATCH 3/8] mm: Convert i_mmap_lock to a mutex Peter Zijlstra
2011-02-17 17:05   ` Peter Zijlstra
2011-02-17 17:05   ` Peter Zijlstra
2011-02-17 17:05 ` [PATCH 4/8] mm: Revert page_lock_anon_vma() lock annotation Peter Zijlstra
2011-02-17 17:05   ` Peter Zijlstra
2011-02-17 17:05   ` Peter Zijlstra
2011-02-17 17:05 ` [PATCH 5/8] mm: Improve page_lock_anon_vma() comment Peter Zijlstra
2011-02-17 17:05   ` Peter Zijlstra
2011-02-17 17:05   ` Peter Zijlstra
2011-02-17 17:05 ` [PATCH 6/8] mm: Use refcounts for page_lock_anon_vma() Peter Zijlstra
2011-02-17 17:05   ` Peter Zijlstra
2011-02-17 17:05   ` Peter Zijlstra
2011-02-17 17:05 ` [PATCH 7/8] mm: Convert anon_vma->lock to a mutex Peter Zijlstra
2011-02-17 17:05   ` Peter Zijlstra
2011-02-17 17:05   ` Peter Zijlstra
2011-02-17 17:05 ` [PATCH 8/8] mm: Optimize page_lock_anon_vma() fast-path Peter Zijlstra
2011-02-17 17:05   ` Peter Zijlstra
2011-02-17 17:05   ` Peter Zijlstra
2011-02-17 17:36 ` Peter Zijlstra [this message]
2011-02-17 17:36   ` [PATCH 0/8] mm: Preemptibility -v8 Peter Zijlstra

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=1297964184.2413.2029.camel@twins \
    --to=a.p.zijlstra@chello.nl \
    --cc=aarcange@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=avi@redhat.com \
    --cc=benh@kernel.crashing.org \
    --cc=davem@davemloft.net \
    --cc=hugh.dickins@tiscali.co.uk \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mel@csn.ul.ie \
    --cc=mingo@elte.hu \
    --cc=npiggin@kernel.dk \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=riel@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    --cc=yanmin_zhang@linux.intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.