+ mm-document-improved-handling-of-swappiness==0.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: + mm-document-improved-handling-of-swappiness==0.patch added to -mm tree
To: atomlin@xxxxxxxxxx,bmr@xxxxxxxxxx,rdunlap@xxxxxxxxxxxxx,riel@xxxxxxxxxx,satoru.moriya@xxxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
Date: Fri, 24 Jan 2014 12:31:42 -0800


The patch titled
     Subject: mm: document improved handling of swappiness==0
has been added to the -mm tree.  Its filename is
     mm-document-improved-handling-of-swappiness==0.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-document-improved-handling-of-swappiness==0.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-document-improved-handling-of-swappiness==0.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
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.

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

mm-document-improved-handling-of-swappiness==0.patch
mm-document-improved-handling-of-swappiness==0-fix.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




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux