From: Shentino <shentino@gmail.com>
To: Cong Wang <xiyou.wangcong@gmail.com>
Cc: linux-mm@kvack.org, stable@vger.kernel.org
Subject: Re: Consider for longterm kernels: mm: avoid swapping out with swappiness==0
Date: Mon, 10 Sep 2012 10:07:24 -0700 [thread overview]
Message-ID: <CAGDaZ_rBMadBmpPTpoV1vvkfmdf-sRt-9q_o_9jyFuiSJ3ve5w@mail.gmail.com> (raw)
In-Reply-To: <k2kqcp$a12$1@ger.gmane.org>
On Mon, Sep 10, 2012 at 6:36 AM, Cong Wang <xiyou.wangcong@gmail.com> wrote:
> On Sun, 09 Sep 2012 at 18:03 GMT, Shentino <shentino@gmail.com> wrote:
>>
>> 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?
>>
>
>
> How could it be set to 200? As 0~100 is valid:
>
> {
> .procname = "swappiness",
> .data = &vm_swappiness,
> .maxlen = sizeof(vm_swappiness),
> .mode = 0644,
> .proc_handler = proc_dointvec_minmax,
> .extra1 = &zero,
> .extra2 = &one_hundred,
> },
My comment/question was more abstract and focusing on the comparison
to vfs_cache_pressure.
:P
>
> --
> 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>
next prev parent reply other threads:[~2012-09-10 17:08 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
2012-09-10 13:36 ` Cong Wang
2012-09-10 17:07 ` Shentino [this message]
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_rBMadBmpPTpoV1vvkfmdf-sRt-9q_o_9jyFuiSJ3ve5w@mail.gmail.com \
--to=shentino@gmail.com \
--cc=linux-mm@kvack.org \
--cc=stable@vger.kernel.org \
--cc=xiyou.wangcong@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