Re: [PATCH 2/2] mm: mmap: annotate vm_lock_anon_vma locking properly for lockdep

2013-01-11 Thread Borislav Petkov
Ok, I see this still on -rc3, also with kvm. Will run your patches and verify them. Thanks. On Sat, Jan 05, 2013 at 01:35:45AM +0100, Jiri Kosina wrote: > Commit 5a505085f04 ("mm/rmap: Convert the struct anon_vma::mutex to an > rwsem") turned anon_vma mutex to rwsem. > > However, the properly

Re: [PATCH 2/2] mm: mmap: annotate vm_lock_anon_vma locking properly for lockdep

2013-01-11 Thread Borislav Petkov
Ok, I see this still on -rc3, also with kvm. Will run your patches and verify them. Thanks. On Sat, Jan 05, 2013 at 01:35:45AM +0100, Jiri Kosina wrote: Commit 5a505085f04 (mm/rmap: Convert the struct anon_vma::mutex to an rwsem) turned anon_vma mutex to rwsem. However, the properly

[PATCH 2/2] mm: mmap: annotate vm_lock_anon_vma locking properly for lockdep

2013-01-04 Thread Jiri Kosina
Commit 5a505085f04 ("mm/rmap: Convert the struct anon_vma::mutex to an rwsem") turned anon_vma mutex to rwsem. However, the properly annotated nested locking in mm_take_all_locks() has been converted from mutex_lock_nest_lock(_vma->root->mutex, >mmap_sem); to

[PATCH 2/2] mm: mmap: annotate vm_lock_anon_vma locking properly for lockdep

2013-01-04 Thread Jiri Kosina
Commit 5a505085f04 (mm/rmap: Convert the struct anon_vma::mutex to an rwsem) turned anon_vma mutex to rwsem. However, the properly annotated nested locking in mm_take_all_locks() has been converted from mutex_lock_nest_lock(anon_vma-root-mutex, mm-mmap_sem); to