mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
To: akpm@linux-foundation.org
Cc: LKML <linux-kernel@vger.kernel.org>,
	"Kirill A. Shutemov" <kirill@shutemov.name>,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
	Balbir Singh <balbir@linux.vnet.ibm.com>,
	Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Subject: [PATCH -mmotm] memcg: implement memory thresholds document fixes
Date: Thu, 7 Jan 2010 09:57:14 +0900	[thread overview]
Message-ID: <20100107095714.9edc4201.nishimura@mxp.nes.nec.co.jp> (raw)
In-Reply-To: <201001062259.o06MxQrp023236@imap1.linux-foundation.org>

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@mxp.nes.nec.co.jp>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
---
This patch can be applied after memcg-implement-memory-thresholds-checkpatch-fixes.patch.

 Documentation/cgroups/memory.txt |   21 ++++++++++-----------
 1 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/Documentation/cgroups/memory.txt b/Documentation/cgroups/memory.txt
index 226a955..aad7d05 100644
--- a/Documentation/cgroups/memory.txt
+++ b/Documentation/cgroups/memory.txt
@@ -458,7 +458,15 @@ Note: Those pages and swaps must be charged to the old cgroup.
 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
-- 
1.5.6.1


  reply	other threads:[~2010-01-07  1:08 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-06 22:34 mmotm 2010-01-06-14-34 uploaded akpm
2010-01-07  0:57 ` Daisuke Nishimura [this message]
2010-01-07  1:18   ` [PATCH -mmotm] memcg: implement memory thresholds document fixes KAMEZAWA Hiroyuki
2010-01-07  1:34     ` Daisuke Nishimura
2010-01-07  1:40       ` KAMEZAWA Hiroyuki
2010-01-07  8:54         ` Balbir Singh
2010-01-07  8:52     ` Balbir Singh
2010-01-07  9:04       ` KAMEZAWA Hiroyuki
2010-01-07  6:29   ` Kirill A. Shutemov
2010-01-07  1:08 ` mmotm 2010-01-06-14-34 uploaded (kernel/cgroup) Randy Dunlap
2010-01-07  2:31   ` KAMEZAWA Hiroyuki
2010-01-07  2:41     ` Li Zefan
2010-01-07  2:47       ` KAMEZAWA Hiroyuki
2010-01-07  3:04         ` Li Zefan
2010-01-07 16:47     ` Randy Dunlap
2010-01-07 17:29     ` Kirill A. Shutemov
2010-01-07  1:10 ` mmotm 2010-01-06-14-34 uploaded (mm/memcontrol) Randy Dunlap
2010-01-07  2:13   ` Daisuke Nishimura
2010-01-07  2:21     ` KAMEZAWA Hiroyuki
2010-01-07  2:59       ` Daisuke Nishimura
2010-01-07  3:02         ` KAMEZAWA Hiroyuki
2010-01-07  4:06           ` [PATCH -mmotm] build fix for memcg-move-charges-of-anonymous-swap.patch Daisuke Nishimura
2010-01-07  4:30             ` KAMEZAWA Hiroyuki
2010-01-07  5:07               ` KAMEZAWA Hiroyuki
2010-01-07  5:14               ` Daisuke Nishimura
2010-01-07  5:52                 ` KAMEZAWA Hiroyuki
2010-01-07 11:23                   ` How should we handle CONFIG_CGROUP_MEM_RES_CTRL_SWAP (Re: [PATCH -mmotm] build fix for memcg-move-charges-of-anonymous-swap.patch) Daisuke Nishimura
2010-01-07 12:38                     ` Balbir Singh
2010-01-07  4:06           ` [PATCH -mmotm] build fix for memcg-improve-performance-in-moving-swap-charge.patch Daisuke Nishimura
2010-01-07  4:31             ` KAMEZAWA Hiroyuki
2010-01-07  3:48 ` mmotm 2010-01-06-14-34 uploaded Valdis.Kletnieks
2010-01-07  4:01   ` Valdis.Kletnieks
2010-01-07 16:04     ` mmotm 2010-01-06-14-34 uploaded (squashfs+lib/decomp) Randy Dunlap
2010-01-08  6:54       ` Valdis.Kletnieks
2010-01-08 16:37         ` Randy Dunlap
2010-01-07 17:13     ` mmotm 2010-01-06-14-34 uploaded Randy Dunlap
2010-01-08 22:21 ` mmotm 2010-01-06-14-34 - crash in CPUfreq Valdis.Kletnieks
2010-01-11 15:39   ` Minchan Kim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100107095714.9edc4201.nishimura@mxp.nes.nec.co.jp \
    --to=nishimura@mxp.nes.nec.co.jp \
    --cc=akpm@linux-foundation.org \
    --cc=balbir@linux.vnet.ibm.com \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=kirill@shutemov.name \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®