From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx182.postini.com [74.125.245.182]) by kanga.kvack.org (Postfix) with SMTP id 3A4E16B0070 for ; Wed, 24 Oct 2012 07:19:55 -0400 (EDT) Received: by mail-ob0-f169.google.com with SMTP id va7so413902obc.14 for ; Wed, 24 Oct 2012 04:19:54 -0700 (PDT) Message-ID: <5087CED1.2030307@gmail.com> Date: Wed, 24 Oct 2012 19:19:45 +0800 From: Ni zhan Chen MIME-Version: 1.0 Subject: ksm questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Linux Memory Management List Cc: Andrea Arcangeli , Petr Holasek , Hugh Dickins , Chris Wright , Rik van Riel , Izik Eidus Hi all, I have some questions about ksm. 1) khugepaged default nice value is 19, but ksmd default nice value is 5, why this big different? 2) why ksm doesn't support pagecache and tmpfs now? What's the bottleneck? 3) ksm kernel doc said that "KSM only merges anonymous(private) pages, never pagecache(file) pages". But where judege it should be private? 4) ksm kernel doc said that "To avoid the instability and the resulting false negatives to be permanent, KSM re-initializes the unstable tree root node to an empty tree, at every KSM pass." But I can't find where re-initializes the unstable tree, could you explain me? Thanks in advance. :-) Regards, Chen -- 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