Skip to contentSkip to conversation

+ mm-thp-fix-doc-for-transparent-huge-zero-page.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Jun 25, 2013 Documentation

lore
Share & tools
lore
#0 lore raw

Subject: + mm-thp-fix-doc-for-transparent-huge-zero-page.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
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 <[email protected]>
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.

---

 Documentation/vm/transhuge.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/vm/transhuge.txt renamed from Documentation/vm/transhuge.txt~mm-thp-fix-doc-for-transparent-huge-zero-page +2 -2
diff -puN Documentation/vm/transhuge.txt~mm-thp-fix-doc-for-transparent-huge-zero-page 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 [email protected] 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