Skip to contentSkip to conversation

mm-thp-fix-doc-for-transparent-huge-zero-page.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 9, 2013 Documentation

lore
Share & tools
lore
#0 lore raw

Subject: [merged] mm-thp-fix-doc-for-transparent-huge-zero-page.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 09 Jul 2013 16:20:13 -0700

The patch titled
Subject: mm/thp: fix doc for transparent huge zero page
has been removed from the -mm tree. Its filename was
mm-thp-fix-doc-for-transparent-huge-zero-page.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
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

origin.patch
linux-next.patch