[patch 00/35] Transparent Hugepage support #12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]