diff options
| author | Aaron Tomlin <[email protected]> | 2014-01-29 22:05:38 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-01-30 00:22:39 +0000 |
| commit | 8582cb96b0bfd6891766d8c30d759bf21aad3b4d (patch) | |
| tree | e603a54867acf33e5424d71f34e891b8dbb4e1bf /lib/dma-debug.c | |
| parent | lib/genalloc.c: add check gen_pool_dma_alloc() if dma pointer is not NULL (diff) | |
| download | kernel-8582cb96b0bfd6891766d8c30d759bf21aad3b4d.tar.gz kernel-8582cb96b0bfd6891766d8c30d759bf21aad3b4d.zip | |
mm: document improved handling of swappiness==0
Prior to commit fe35004fbf9e ("mm: avoid swapping out with
swappiness==0") setting swappiness to 0, reclaim code could still evict
recently used user anonymous memory to swap even though there is a
significant amount of RAM used for page cache.
The behaviour of setting swappiness to 0 has since changed. When set,
the reclaim code does not initiate swap until the amount of free pages
and file-backed pages, is less than the high water mark in a zone.
Let's update the documentation to reflect this.
[[email protected]: remove comma, per Randy]
Signed-off-by: Aaron Tomlin <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Acked-by: Bryn M. Reeves <[email protected]>
Cc: Satoru Moriya <[email protected]>
Cc: Randy Dunlap <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions
