From: Willy Tarreau <w@1wt.eu>
To: Rik van Riel <riel@redhat.com>
Cc: Ben Hutchings <ben@decadent.org.uk>,
Andrew Morton <akpm@linux-foundation.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
stable@vger.kernel.org, Zdenek Kaspar <zkaspar82@gmail.com>,
linux-mm@kvack.org
Subject: Re: Consider for longterm kernels: mm: avoid swapping out with swappiness==0
Date: Sun, 9 Sep 2012 22:34:11 +0200 [thread overview]
Message-ID: <20120909203411.GC13847@1wt.eu> (raw)
In-Reply-To: <504CCECF.9020104@redhat.com>
On Sun, Sep 09, 2012 at 01:15:59PM -0400, Rik van Riel wrote:
> >>http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=fe35004fbf9eaf67482b074a2e032abb9c89b1dd
> >>
> >>In short: this patch seems beneficial for users trying to avoid memory
> >>swapping at all costs but they want to keep swap for emergency reasons.
> >>
> >>More details: https://lkml.org/lkml/2012/3/2/320
> >>
> >>Its included in 3.5, so could this be considered for -longterm kernels ?
> >
> >Andrew, Rik, does this seem appropriate for longterm?
>
> Yes, absolutely. Default behaviour is not changed at all, and
> the patch makes swappiness=0 do what people seem to expect it
> to do.
Just for the record, in 3.0 and below we don't have vmscan_swappiness(),
so if the match makes sense there, that function will need to be backported,
in which mem_cgroup_swappiness() will have to be replaced by get_swappiness().
Regards,
Willy
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2012-09-09 20:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5038E7AA.5030107@gmail.com>
2012-09-09 16:57 ` Consider for longterm kernels: mm: avoid swapping out with swappiness==0 Ben Hutchings
2012-09-09 17:15 ` Rik van Riel
2012-09-09 18:03 ` Shentino
2012-09-10 13:36 ` Cong Wang
2012-09-10 17:07 ` Shentino
2012-09-10 17:40 ` Shentino
2012-09-09 18:27 ` Ben Hutchings
2012-09-09 20:34 ` Willy Tarreau [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120909203411.GC13847@1wt.eu \
--to=w@1wt.eu \
--cc=akpm@linux-foundation.org \
--cc=ben@decadent.org.uk \
--cc=gregkh@linuxfoundation.org \
--cc=linux-mm@kvack.org \
--cc=riel@redhat.com \
--cc=stable@vger.kernel.org \
--cc=zkaspar82@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).