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

From: Peter Zijlstra
Date: Thu Feb 17 2011 - 12:37:11 EST


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 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/