Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ksm] seeing the wrong VMA information

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mel Gorman
Date: Thursday, May 6, 2010 - 3:37 am

On Wed, May 05, 2010 at 06:13:19PM +0200, Andrea Arcangeli wrote:

The hatchet-job mutex is off the table so it's down to

start-with-root-anon_vma-and-lock-in-order-when-walking-list (what I last posted)
take-all-anon_vma-locks-when-changing-vmas (Rik's)
use-seq-counter-to-spot-changes-to-VMAs-when-walking-list (Kamezawa-san's approach)

Any strong preference?

I still haven't read the other comments Linus made so I don't have a strong
preference yet. Either Rik's or the patch I posted should be enough for
migration to not get tripped up as far as I can see.


-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] Fix migration races in rmap_walk() V5, Mel Gorman, (Wed May 5, 6:14 am)
Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ksm] ..., KAMEZAWA Hiroyuki, (Thu May 6, 12:38 am)
Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ksm] ..., Mel Gorman, (Thu May 6, 3:37 am)
Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ksm] ..., KAMEZAWA Hiroyuki, (Thu May 6, 10:49 pm)