The patch titled Subject: thp: fix khugepaged defrag tunable documentation has been removed from the -mm tree. Its filename was thp-fix-khugepaged-defrag-tunable-documentation.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ From: David Rientjes <rientjes@xxxxxxxxxx> Subject: thp: fix khugepaged defrag tunable documentation e27e6151b154 ("mm/thp: use conventional format for boolean attributes") changed /sys/kernel/mm/transparent_hugepage/khugepaged/defrag to be tuned by using 1 (enabled) or 0 (disabled) instead of "yes" and "no", respectively. Update the documentation. Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx> Cc: Andrea Arcangeli <aarcange@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxx> --- Documentation/vm/transhuge.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff -puN Documentation/vm/transhuge.txt~thp-fix-khugepaged-defrag-tunable-documentation Documentation/vm/transhuge.txt --- a/Documentation/vm/transhuge.txt~thp-fix-khugepaged-defrag-tunable-documentation +++ a/Documentation/vm/transhuge.txt @@ -123,10 +123,11 @@ be automatically shutdown if it's set to khugepaged runs usually at low frequency so while one may not want to invoke defrag algorithms synchronously during the page faults, it should be worth invoking defrag at least in khugepaged. However it's -also possible to disable defrag in khugepaged: +also possible to disable defrag in khugepaged by writing 0 or enable +defrag in khugepaged by writing 1: -echo yes >/sys/kernel/mm/transparent_hugepage/khugepaged/defrag -echo no >/sys/kernel/mm/transparent_hugepage/khugepaged/defrag +echo 0 >/sys/kernel/mm/transparent_hugepage/khugepaged/defrag +echo 1 >/sys/kernel/mm/transparent_hugepage/khugepaged/defrag You can also control how many pages khugepaged should scan at each pass: _ Patches currently in -mm which might be from rientjes@xxxxxxxxxx are origin.patch linux-next.patch oom-avoid-killing-kthreads-if-they-assume-the-oom-killed-threads-mm.patch oom-remove-oom_disable_count.patch oom-fix-race-while-temporarily-setting-currents-oom_score_adj.patch mm-avoid-null-pointer-access-in-vm_struct-via-proc-vmallocinfo.patch mm-compaction-make-compact_zone_order-static.patch cpusets-avoid-looping-when-storing-to-mems_allowed-if-one-node-remains-set.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