Subject: [merged] mm-document-improved-handling-of-swappiness==0.patch removed from -mm tree To: atomlin@xxxxxxxxxx,bmr@xxxxxxxxxx,rdunlap@xxxxxxxxxxxxx,riel@xxxxxxxxxx,satoru.moriya@xxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Thu, 30 Jan 2014 12:05:00 -0800 The patch titled Subject: mm: document improved handling of swappiness==0 has been removed from the -mm tree. Its filename was mm-document-improved-handling-of-swappiness==0.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Aaron Tomlin <atomlin@xxxxxxxxxx> Subject: mm: document improved handling of swappiness==0 Prior to fe35004fbf9ea ("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. [akpm@xxxxxxxxxxxxxxxxxxxx: remove comma, per Randy] Signed-off-by: Aaron Tomlin <atomlin@xxxxxxxxxx> Acked-by: Rik van Riel <riel@xxxxxxxxxx> Acked-by: Bryn M. Reeves <bmr@xxxxxxxxxx> Cc: Satoru Moriya <satoru.moriya@xxxxxxx> Cc: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/sysctl/vm.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -puN Documentation/sysctl/vm.txt~mm-document-improved-handling-of-swappiness==0 Documentation/sysctl/vm.txt --- a/Documentation/sysctl/vm.txt~mm-document-improved-handling-of-swappiness==0 +++ a/Documentation/sysctl/vm.txt @@ -696,7 +696,9 @@ swappiness This control is used to define how aggressive the kernel will swap memory pages. Higher values will increase agressiveness, lower values -decrease the amount of swap. +decrease the amount of swap. A value of 0 instructs the kernel not to +initiate swap until the amount of free and file-backed pages is less +than the high water mark in a zone. The default value is 60. _ Patches currently in -mm which might be from atomlin@xxxxxxxxxx are origin.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html