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
--