From: "KAMEZAWA Hiroyuki" <kamezawa.hiroyu@jp.fujitsu.com>
To: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Cc: Joel Krauska <jkrauska@gmail.com>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
linux-mm@kvack.org
Subject: Re: swapoff throttling and speedup?
Date: Fri, 5 Jun 2009 01:25:30 +0900 (JST) [thread overview]
Message-ID: <990133947abefb130319d1a7339b718d.squirrel@webmail-b.css.fujitsu.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0906041600540.18591@sister.anvils>
Hugh Dickins wrote:
> On Wed, 3 Jun 2009, Joel Krauska wrote:
>> I'm hoping others have been down this road before.
>>
>> As a rule, we try to avoid swapping when possible, but using:
>> vm.swappiness = 1
>>
>> But it does still happen on occasion and that lead to this mail.
>
> Thanks for taking the trouble to write: opinions, anyone?
>
Is there anyone who wants a system call like this ?
int mem_swapin(int pid, start-addr, size)
- try to swap in pages from range [addr, addr+size) of pid.
we can do this force-pagein against file caches and shmem now.
this is for swap.
I doubts there are no one who can make use of this in sane way. But I'm
sometimes surprised to find that there are people make use of swap
intentionally...
Thanks,
-Kame
--
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:[~2009-06-04 16:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-03 17:01 Joel Krauska
2009-06-04 2:04 ` KAMEZAWA Hiroyuki
2009-06-04 2:43 ` Joel Krauska
2009-06-04 2:54 ` KAMEZAWA Hiroyuki
2009-06-04 15:50 ` Hugh Dickins
2009-06-04 16:25 ` KAMEZAWA Hiroyuki [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=990133947abefb130319d1a7339b718d.squirrel@webmail-b.css.fujitsu.com \
--to=kamezawa.hiroyu@jp.fujitsu.com \
--cc=hugh.dickins@tiscali.co.uk \
--cc=jkrauska@gmail.com \
--cc=linux-mm@kvack.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