From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx179.postini.com [74.125.245.179]) by kanga.kvack.org (Postfix) with SMTP id 2EBF76B0008 for ; Tue, 5 Mar 2013 23:32:00 -0500 (EST) Received: by mail-ie0-f180.google.com with SMTP id bn7so8741497ieb.25 for ; Tue, 05 Mar 2013 20:31:59 -0800 (PST) Date: Tue, 5 Mar 2013 20:31:16 -0800 (PST) From: Hugh Dickins Subject: Re: [PATCH 2/7] ksm: treat unstable nid like in stable tree In-Reply-To: <51369BB9.6030608@gmail.com> Message-ID: References: <51271A7D.6020305@gmail.com> <51303CAB.3080406@gmail.com> <51315174.4020200@gmail.com> <51369BB9.6030608@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Will Huck Cc: Ric Mason , Andrew Morton , Mel Gorman , Petr Holasek , Andrea Arcangeli , Izik Eidus , linux-kernel@vger.kernel.org, linux-mm@kvack.org 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org