lkml.org 
[lkml]   [2010]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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


    \
     
     \ /
      Last update: 2010-05-12 11:27    [W:3.632 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site