On Wed, 6 Mar 2013, Will Huck wrote: > > How ksm treat a ksm forked page? IIUC, it's not merged in ksm stable tree. It > will just be ignore?
No, it's there in the stable tree, as it was before it got forked. And when ksmd comes around to find the new mm, it will allocate an rmap_item for that page in the new mm, and append it to the existing stable_node. Hugh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/