Thread (11 messages) 11 messages, 2 authors, 2011-02-17

Re: [PATCH 0/8] mm: Preemptibility -v8

From: Peter Zijlstra <hidden>
Date: 2011-02-17 17:37:07
Also in: linux-mm, lkml

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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help