Messages in this thread | | | Subject | Re: [PATCH 1/2] mm: Take all anon_vma locks in anon_vma_lock | From | Peter Zijlstra <> | Date | Mon, 03 May 2010 19:11:19 +0200 |
| |
On Mon, 2010-05-03 at 19:02 +0200, Andrea Arcangeli wrote: > On Mon, May 03, 2010 at 06:55:12PM +0200, Peter Zijlstra wrote: > > This does leave me worrying about concurrent faults poking at > > vma->vm_end without synchronization. > > I didn't check this patch in detail yet. I agree it can be removed and > I think it can be safely replaced with the page_table_lock.
Sure, it could probably be replaced with the ptl, but a single anon_vma->lock would I think be better since there's more of them.
| |