Messages in this thread | | | Date | Tue, 23 Jan 2007 12:21:05 +0800 | From | "yunfeng zhang" <> | 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |