Re: [PATCH 1/2] mm: Take all anon_vma locks in anon_vma_lock

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rik van Riel
Date: Monday, May 3, 2010 - 9:53 am

On 05/03/2010 12:41 PM, Linus Torvalds wrote:

In this case, because the fix from the migration side is
difficult and fragile, while fixing things from the mmap
side is straightforward.

I believe the overhead of patch 1/2 should be minimal
as well, because the locks we take are the _depth_ of
the process tree (truncated every exec), not the width.


As for patch 2/2, Mel has an alternative approach for that:

http://lkml.org/lkml/2010/4/30/198

Does Mel's patch seem more reasonable to you?

-- 
All rights reversed
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/2] mm: Take all anon_vma locks in anon_vma_lock, Rik van Riel, (Mon May 3, 9:53 am)
Re: [PATCH 1/2] mm: Take all anon_vma locks in anon_vma_lock, Andrea Arcangeli, (Mon May 3, 10:02 am)
Re: [PATCH 1/2] mm: Take all anon_vma locks in anon_vma_lock, Andrea Arcangeli, (Mon May 3, 10:18 am)
Re: [PATCH 1/2] mm: Take all anon_vma locks in anon_vma_lock, Andrea Arcangeli, (Mon May 3, 11:13 am)