From: yamamoto@valinux.co.jp (YAMAMOTO Takashi)
To: fengguang.wu@gmail.com
Cc: akpm@linux-foundation.org, andrea@suse.de, linux-mm@kvack.org,
npiggin@suse.de
Subject: Re: make swappiness safer to use
Date: Mon, 12 Nov 2007 11:07:47 +0900 (JST) [thread overview]
Message-ID: <20071112020748.4B9791C745A@siro.lan> (raw)
In-Reply-To: Your message of "Tue, 7 Aug 2007 13:00:33 +0800" <20070807050032.GA16179@mail.ustc.edu.cn>
> + /*
> + * Reduce the effect of imbalance if swappiness is low,
> + * this means for a swappiness very low, the imbalance
> + * must be much higher than 100 for this logic to make
> + * the difference.
> + *
> + * Max temporary value is vm_total_pages*100.
> + */
> + imbalance *= (vm_swappiness + 1);
> + imbalance /= 100;
why vm_swappiness rather than sc->swappiness?
YAMAMOTO Takashi
--
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:[~2007-11-12 2:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-31 21:52 Andrea Arcangeli
2007-07-31 22:12 ` Andrew Morton
2007-07-31 22:40 ` Andrea Arcangeli
2007-07-31 22:51 ` Andrew Morton
2007-07-31 23:02 ` Andrea Arcangeli
[not found] ` <20070801011925.GB20109@mail.ustc.edu.cn>
2007-08-01 1:19 ` Fengguang Wu
[not found] ` <20070801012222.GA20565@mail.ustc.edu.cn>
2007-08-01 1:22 ` Fengguang Wu
[not found] ` <20070801013208.GA20085@mail.ustc.edu.cn>
2007-08-01 1:32 ` Fengguang Wu
2007-08-01 2:33 ` Andrea Arcangeli
2007-08-06 18:21 ` Andrew Morton
[not found] ` <20070807050032.GA16179@mail.ustc.edu.cn>
2007-08-07 5:00 ` Fengguang Wu
2007-11-12 2:07 ` YAMAMOTO Takashi [this message]
2007-08-01 2:30 ` Andrea Arcangeli
2007-07-31 23:09 ` Andrew Morton
2007-07-31 23:23 ` Andrea Arcangeli
2007-07-31 23:32 ` Martin Bligh
2007-07-31 23:49 ` Andrew Morton
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=20071112020748.4B9791C745A@siro.lan \
--to=yamamoto@valinux.co.jp \
--cc=akpm@linux-foundation.org \
--cc=andrea@suse.de \
--cc=fengguang.wu@gmail.com \
--cc=linux-mm@kvack.org \
--cc=npiggin@suse.de \
/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