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