Re: ksm questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/24/2012 01:19 PM, Ni zhan Chen wrote:
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?


in scan_get_next_rmap_item(), if (slot == &ksm_mm_head) then we do root_unstable_tree = RB_ROOT; this will result in root_unstable_tree being empty.


Thanks in advance. :-)

Regards,
Chen


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]