linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Cong Wang <xiyou.wangcong@gmail.com>
To: linux-mm@kvack.org
Cc: stable@vger.kernel.org
Subject: Re: Consider for longterm kernels: mm: avoid swapping out with swappiness==0
Date: Mon, 10 Sep 2012 13:36:25 +0000 (UTC)	[thread overview]
Message-ID: <k2kqcp$a12$1@ger.gmane.org> (raw)
In-Reply-To: CAGDaZ_pLTR3FZy4-txF7ZhMy60xp_BB=-JORd8OhcGcJOG6YCw@mail.gmail.com

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

--
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-10 13:36 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 [this message]
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='k2kqcp$a12$1@ger.gmane.org' \
    --to=xiyou.wangcong@gmail.com \
    --cc=linux-mm@kvack.org \
    --cc=stable@vger.kernel.org \
    /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).