Subject: + mm-thp-fix-doc-for-transparent-huge-zero-page.patch added to -mm tree To: liwanp@xxxxxxxxxxxxxxxxxx,kirill.shutemov@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Tue, 25 Jun 2013 15:23:50 -0700 The patch titled Subject: mm/thp: fix doc for transparent huge zero page has been added to the -mm tree. Its filename is mm-thp-fix-doc-for-transparent-huge-zero-page.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Wanpeng Li <liwanp@xxxxxxxxxxxxxxxxxx> Subject: mm/thp: fix doc for transparent huge zero page Transparent huge zero page is used during the page fault instead of in khugepaged. # ls /sys/kernel/mm/transparent_hugepage/ defrag enabled khugepaged use_zero_page # ls /sys/kernel/mm/transparent_hugepage/khugepaged/ alloc_sleep_millisecs defrag full_scans max_ptes_none pages_collapsed pages_to_scan scan_sleep_millisecs This patch corrects the documentation just like the codes done. Signed-off-by: Wanpeng Li <liwanp@xxxxxxxxxxxxxxxxxx> Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/vm/transhuge.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN Documentation/vm/transhuge.txt~mm-thp-fix-doc-for-transparent-huge-zero-page Documentation/vm/transhuge.txt --- a/Documentation/vm/transhuge.txt~mm-thp-fix-doc-for-transparent-huge-zero-page +++ a/Documentation/vm/transhuge.txt @@ -120,8 +120,8 @@ By default kernel tries to use huge zero It's possible to disable huge zero page by writing 0 or enable it back by writing 1: -echo 0 >/sys/kernel/mm/transparent_hugepage/khugepaged/use_zero_page -echo 1 >/sys/kernel/mm/transparent_hugepage/khugepaged/use_zero_page +echo 0 >/sys/kernel/mm/transparent_hugepage/use_zero_page +echo 1 >/sys/kernel/mm/transparent_hugepage/use_zero_page khugepaged will be automatically started when transparent_hugepage/enabled is set to "always" or "madvise, and it'll _ Patches currently in -mm which might be from liwanp@xxxxxxxxxxxxxxxxxx are mm-memory-hotplug-fix-lowmem-count-overflow-when-offline-pages.patch mm-memory-hotplug-fix-lowmem-count-overflow-when-offline-pages-fix.patch mm-pageblock-remove-get-set_pageblock_flags.patch mm-hugetlb-remove-hugetlb_prefault.patch mm-hugetlb-use-already-exist-interface-huge_page_shift.patch mm-writeback-remove-wb_reason_name.patch mm-writeback-dont-check-force_wait-to-handle-bdi-work_list.patch mm-writeback-commit-reason-of-wb_reason_forker_thread-mismatch-name.patch mm-page_alloc-fix-doc-for-numa_zonelist_order.patch mm-thp-fix-doc-for-transparent-huge-zero-page.patch mm-pgtable-dont-accumulate-addr-during-pgd-prepopulate-pmd.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html