lkml.org 
[lkml]   [2013]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/4] mm/rmap: convert anon_vma rwsem to rwlock_t
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


\
 
 \ /
  Last update: 2013-11-01 10:01    [W:0.140 / U:1.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site