On Fri, 2012-10-19 at 09:51 -0400, Johannes Weiner wrote: > Of course I'm banging my head into a wall for not seeing earlier > through the existing migration path how easy this could be. There's a reason I keep promoting the idea of 'someone' rewriting all that page-migration code :-) I forever get lost in there. Also note that the proposed code will do 'wasted' work in case the THP page gets split from under us, given that splits are relatively rare (and if they're not, we should make them so) this didn't seem a problem. Also, this code very much relies on our PROT_NONE marking, it avoids the whole migration-PTE dance usually done, further the assumption that THP pages are anonymous only did help keep it simpler -- if someone 'fixes' that this needs more TLC. -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html