|
|
Log in / Subscribe / Register

Transparent Hugepage support #12

From:  aarcange@redhat.com
To:  linux-mm@kvack.org
Subject:  [patch 00/35] Transparent Hugepage support #12
Date:  Fri, 26 Feb 2010 21:04:33 +0100

This adds more commentary to khugepaged and it adds two defrag sysfs knobs:

find /sys/ -name defrag
/sys/kernel/mm/transparent_hugepage/defrag
/sys/kernel/mm/transparent_hugepage/khugepaged/defrag

find /sys/ -name defrag -exec cat {} \;
always [madvise] never
[yes] no

This should also fix memcg khugepaged accounting (thanks Kame).

I folded the page_anon_vma patch into transparent_hugepage. It was however good
idea to keep it separated first time around IMHO to make reviewing of the
changes feasible (it's still there to review on the list in the #11 submit if
others wants to review).

Let me know if something else is needed to merge into -mm.

After that we can start to call memory compaction in alloc_hugepage(int defrag)
if defrag == 1.

Thanks!
Andrea

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



Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds