Alternate suggestions:
- clean up the patch so that it is explicitly abouy migration, and
doesn't even get enabled for anything else.
- make the migration code take the VM lock for writing (why doesn't it
already?) and never race with things like this in the first place.
- explain why the new code isn't any slower.
Hmm?
Linus
--