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@xxxxxxxxxxxxxx: Idea for having migration skip temporary stacks]
Signed-off-by: Mel Gorman<mel@xxxxxxxxx>
Reviewed-by: KAMEZAWA Hiroyuki<kamezawa.hiroyu@xxxxxxxxxxxxxx>