Skip to contentSkip to conversation

mm-document-improved-handling-of-swappiness==0.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 30, 2014 Documentation

lore
Share & tools
lore
#0 lore raw

Subject: [merged] mm-document-improved-handling-of-swappiness==0.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
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 <[email protected]>
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.

---

 Documentation/sysctl/vm.txt |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/sysctl/vm.txt renamed from Documentation/sysctl/vm.txt~mm-document-improved-handling-of-swappiness==0 +3 -1
diff -puN Documentation/sysctl/vm.txt~mm-document-improved-handling-of-swappiness==0 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 [email protected] are

origin.patch
linux-next.patch