linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Shentino <shentino@gmail.com>
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 11:03:55 -0700	[thread overview]
Message-ID: <CAGDaZ_pLTR3FZy4-txF7ZhMy60xp_BB=-JORd8OhcGcJOG6YCw@mail.gmail.com> (raw)
In-Reply-To: <504CCECF.9020104@redhat.com>

On Sun, Sep 9, 2012 at 10:15 AM, Rik van Riel <riel@redhat.com> wrote:
> On 09/09/2012 12:57 PM, Ben Hutchings wrote:
>>
>> On Sat, 2012-08-25 at 16:56 +0200, Zdenek Kaspar wrote:
>>>
>>> Hi Greg,
>>>
>>>
>>> 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 curious, but what theoretically would happen if someone were to
want to set swappiness to 200 or something?

Should it be sorta like vfs_cache_pressure?

> --
> All rights reversed
>
> --
> 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>

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

  reply	other threads:[~2012-09-09 18:04 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 ` Ben Hutchings
2012-09-09 17:15   ` Rik van Riel
2012-09-09 18:03     ` Shentino [this message]
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

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='CAGDaZ_pLTR3FZy4-txF7ZhMy60xp_BB=-JORd8OhcGcJOG6YCw@mail.gmail.com' \
    --to=shentino@gmail.com \
    --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