aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/controllers/memory.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/controllers/memory.txt')
-rw-r--r--Documentation/controllers/memory.txt12
1 files changed, 4 insertions, 8 deletions
diff --git a/Documentation/controllers/memory.txt b/Documentation/controllers/memory.txt
index 1c07547d3f81..58f32c166fac 100644
--- a/Documentation/controllers/memory.txt
+++ b/Documentation/controllers/memory.txt
@@ -207,12 +207,6 @@ exceeded.
207The memory.stat file gives accounting information. Now, the number of 207The memory.stat file gives accounting information. Now, the number of
208caches, RSS and Active pages/Inactive pages are shown. 208caches, RSS and Active pages/Inactive pages are shown.
209 209
210The memory.force_empty gives an interface to drop *all* charges by force.
211
212# echo 1 > memory.force_empty
213
214will drop all charges in cgroup. Currently, this is maintained for test.
215
2164. Testing 2104. Testing
217 211
218Balbir posted lmbench, AIM9, LTP and vmmstress results [10] and [11]. 212Balbir posted lmbench, AIM9, LTP and vmmstress results [10] and [11].
@@ -242,8 +236,10 @@ reclaimed.
242 236
243A cgroup can be removed by rmdir, but as discussed in sections 4.1 and 4.2, a 237A cgroup can be removed by rmdir, but as discussed in sections 4.1 and 4.2, a
244cgroup might have some charge associated with it, even though all 238cgroup might have some charge associated with it, even though all
245tasks have migrated away from it. Such charges are automatically dropped at 239tasks have migrated away from it.
246rmdir() if there are no tasks. 240Such charges are moved to its parent as much as possible and freed if parent
241is full. Both of RSS and CACHES are moved to parent.
242If both of them are busy, rmdir() returns -EBUSY.
247 243
2485. TODO 2445. TODO
249 245