The patch titled memcg-implement-memory-thresholds-checkpatch-fixes-fix has been added to the -mm tree. Its filename is memcg-implement-memory-thresholds-checkpatch-fixes-fix.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 *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: memcg-implement-memory-thresholds-checkpatch-fixes-fix From: Daisuke Nishimura <nishimura@xxxxxxxxxxxxxxxxx> Each memcg-implement-memory-thresholds.patch and memcg-add-interface-to-move-charge-at-task-migration.patch try to add a new section to Documentation/cgroup/memory.txt, so the document has been a bit mangled when these patches are merged at the same time. This patch fixes it. Signed-off-by: Daisuke Nishimura <nishimura@xxxxxxxxxxxxxxxxx> Acked-by: Kirill A. Shutemov <kirill@xxxxxxxxxxxxx> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> Cc: Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/cgroups/memory.txt | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff -puN Documentation/cgroups/memory.txt~memcg-implement-memory-thresholds-checkpatch-fixes-fix Documentation/cgroups/memory.txt --- a/Documentation/cgroups/memory.txt~memcg-implement-memory-thresholds-checkpatch-fixes-fix +++ a/Documentation/cgroups/memory.txt @@ -458,7 +458,15 @@ Note: Those pages and swaps must be char Note: More type of pages(e.g. file cache, shmem,) will be supported by other bits in future. -8.3 Memory thresholds +8.3 TODO + +- Add support for other types of pages(e.g. file cache, shmem, etc.). +- Implement madvise(2) to let users decide the vma to be moved or not to be + moved. +- All of moving charge operations are done under cgroup_mutex. It's not good + behavior to hold the mutex too long, so we may need some trick. + +9. Memory thresholds Memory controler implements memory thresholds using cgroups notification API (see cgroups.txt). It allows to register multiple memory and memsw @@ -475,16 +483,7 @@ threshold in any direction. It's applicable for root and non-root cgroup. - -8.4 TODO - -- Add support for other types of pages(e.g. file cache, shmem, etc.). -- Implement madvise(2) to let users decide the vma to be moved or not to be - moved. -- All of moving charge operations are done under cgroup_mutex. It's not good - behavior to hold the mutex too long, so we may need some trick. - -9. TODO +10. TODO 1. Add support for accounting huge pages (as a separate controller) 2. Make per-cgroup scanner reclaim not-shared pages first _ Patches currently in -mm which might be from nishimura@xxxxxxxxxxxxxxxxx are cgroup-introduce-cancel_attach.patch cgroup-introduce-coalesce-css_get-and-css_put.patch memcg-add-interface-to-move-charge-at-task-migration.patch memcg-move-charges-of-anonymous-page.patch memcg-move-charges-of-anonymous-page-cleanup.patch memcg-improve-performance-in-moving-charge.patch memcg-avoid-oom-during-moving-charge.patch memcg-move-charges-of-anonymous-swap.patch memcg-improve-performance-in-moving-swap-charge.patch cgroup-implement-eventfd-based-generic-api-for-notifications.patch memcg-extract-mem_group_usage-from-mem_cgroup_read.patch memcg-rework-usage-of-stats-by-soft-limit.patch memcg-implement-memory-thresholds.patch memcg-implement-memory-thresholds-checkpatch-fixes.patch memcg-implement-memory-thresholds-checkpatch-fixes-fix.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