From: "yunfeng zhang" <zyf.zeroos@gmail.com>
To: "Al Boldi" <a1426z@gawab.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.6.20-rc5 1/1] MM: enhance Linux swap subsystem
Date: Tue, 23 Jan 2007 12:21:05 +0800 [thread overview]
Message-ID: <4df04b840701222021w5e1aaab2if2ba7fc38d06d64b@mail.gmail.com> (raw)
In-Reply-To: <200701222300.41960.a1426z@gawab.com>
>
> Patched against 2.6.19 leads to:
>
> mm/vmscan.c: In function `shrink_pvma_scan_ptes':
> mm/vmscan.c:1340: too many arguments to function `page_remove_rmap'
>
> So changed
> page_remove_rmap(series.pages[i], vma);
> to
> page_remove_rmap(series.pages[i]);
>
I've worked on 2.6.19, but when update to 2.6.20-rc5, the function is changed.
> But your patch doesn't offer any swap-performance improvement for both swsusp
> or tmpfs. Swap-in is still half speed of Swap-out.
>
>
Current Linux page allocation fairly provides pages for every process, since
swap daemon only is started when memory is low, so when it starts to scan
active_list, the private pages of processes are messed up with each other,
vmscan.c:shrink_list() is the only approach to attach disk swap page to page on
active_list, as the result, all private pages lost their affinity on swap
partition. I will give a testlater...
next prev parent reply other threads:[~2007-01-23 4:21 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-22 7:09 yunfeng zhang
2007-01-22 10:21 ` Pavel Machek
2007-01-22 20:00 ` Al Boldi
2007-01-23 4:21 ` yunfeng zhang [this message]
2007-01-23 5:08 ` yunfeng zhang
2007-01-24 21:15 ` Hugh Dickins
2007-01-26 4:58 ` yunfeng zhang
2007-01-29 5:29 ` yunfeng zhang
[not found] ` <4df04b840701301852i41687edfl1462c4ca3344431c@mail.gmail.com>
[not found] ` <Pine.LNX.4.64.0701312022340.26857@blonde.wat.veritas.com>
2007-02-13 5:52 ` yunfeng zhang
2007-02-20 9:06 ` yunfeng zhang
2007-02-22 1:58 ` yunfeng zhang
2007-02-22 2:19 ` Rik van Riel
2007-02-23 2:31 ` yunfeng zhang
2007-02-23 3:33 ` Rik van Riel
2007-02-25 1:47 ` yunfeng zhang
2007-08-23 9:47 ` yunfeng zhang
2007-08-23 15:56 ` Randy Dunlap
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=4df04b840701222021w5e1aaab2if2ba7fc38d06d64b@mail.gmail.com \
--to=zyf.zeroos@gmail.com \
--cc=a1426z@gawab.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®