Re: [PATCH 2/4] mm/rmap: convert anon_vma rwsem to rwlock_t
From: Peter Zijlstra
Date: Fri Nov 01 2013 - 04:46:15 EST
On Fri, Nov 01, 2013 at 03:54:25PM +0800, Yuanhan Liu wrote:
> --- a/mm/mmap.c
> +++ b/mm/mmap.c
> @@ -2955,15 +2955,15 @@ static void vm_lock_anon_vma(struct mm_struct *mm, struct anon_vma *anon_vma)
> * The LSB of head.next can't change from under us
> * because we hold the mm_all_locks_mutex.
> */
> - down_write_nest_lock(&anon_vma->rwsem, &mm->mmap_sem);
> + write_lock(&anon_vma->rwlock);
You lost:
http://marc.info/?l=linux-kernel&m=138054148402109
--
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/