diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/controllers/memory.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/controllers/memory.txt b/Documentation/controllers/memory.txt index 54253b7a8db2..9fe2d0eabe05 100644 --- a/Documentation/controllers/memory.txt +++ b/Documentation/controllers/memory.txt | |||
@@ -137,6 +137,11 @@ behind this approach is that a cgroup that aggressively uses a shared | |||
137 | page will eventually get charged for it (once it is uncharged from | 137 | page will eventually get charged for it (once it is uncharged from |
138 | the cgroup that brought it in -- this will happen on memory pressure). | 138 | the cgroup that brought it in -- this will happen on memory pressure). |
139 | 139 | ||
140 | Exception: When you do swapoff and make swapped-out pages of shmem(tmpfs) to | ||
141 | be backed into memory in force, charges for pages are accounted against the | ||
142 | caller of swapoff rather than the users of shmem. | ||
143 | |||
144 | |||
140 | 2.4 Reclaim | 145 | 2.4 Reclaim |
141 | 146 | ||
142 | Each cgroup maintains a per cgroup LRU that consists of an active | 147 | Each cgroup maintains a per cgroup LRU that consists of an active |