[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4df04b840701222021w5e1aaab2if2ba7fc38d06d64b@mail.gmail.com>
Date: Tue, 23 Jan 2007 12:21:05 +0800
From: "yunfeng zhang" <zyf.zeroos@...il.com>
To: "Al Boldi" <a1426z@...ab.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2.6.20-rc5 1/1] MM: enhance Linux swap subsystem
>
> 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...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists