Messages in this thread | | | Date | Tue, 11 May 2010 08:10:29 -0400 | From | Rik van Riel <> | Subject | Re: [PATCH] mm,migration: Avoid race between shift_arg_pages() and rmap_walk() during migration by not migrating temporary stacks |
| |
On 05/11/2010 04:57 AM, Mel Gorman wrote: > Hi Andrew, > > This patch closes the most important race in relation to exec and > migration. With it applied, the swapops bug is no longer triggering for > known problem workloads. If you pick it up, it should go with the other > mmmigration-* fixes in mm.
> This patch causes pages within the temporary stack during exec to be skipped > by migration. It does this by marking the VMA covering the temporary stack > with an otherwise impossible combination of VMA flags. These flags are > cleared when the temporary stack is moved to its final location. > > [kamezawa.hiroyu@jp.fujitsu.com: Idea for having migration skip temporary stacks] > Signed-off-by: Mel Gorman<mel@csn.ul.ie> > Reviewed-by: KAMEZAWA Hiroyuki<kamezawa.hiroyu@jp.fujitsu.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
-- All rights reversed
| |