Re: [PATCH] mm: optimize replace_page_cache_page
From: Andrew Morton
Date: Wed Feb 23 2011 - 17:46:05 EST
On Sun, 20 Feb 2011 08:41:21 +0900
Minchan Kim <minchan.kim@xxxxxxxxx> wrote:
> Resend.
Reignore.
> he patch is based on mmotm-2011-02-04 +
> mm-add-replace_page_cache_page-function-add-freepage-hook.patch.
>
> On Fri, Feb 11, 2011 at 01:33:46AM +0900, Minchan Kim wrote:
> > This patch optmizes replace_page_cache_page.
> >
> > 1) remove radix_tree_preload
> > 2) single radix_tree_lookup_slot and replace radix tree slot
> > 3) page accounting optimization if both pages are in same zone.
> >
> > Cc: Miklos Szeredi <mszeredi@xxxxxxx>
> > Cc: Rik van Riel <riel@xxxxxxxxxx>
> > Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
> > Cc: Mel Gorman <mel@xxxxxxxxx>
> > Signed-off-by: Minchan Kim <minchan.kim@xxxxxxxxx>
> > ---
> > mm/filemap.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++++---------
> > 1 files changed, 51 insertions(+), 10 deletions(-)
> >
> > Hi Miklos,
> > This patch is totally not tested.
> > Could you test this patch?
^^^ Because of this.
Is it tested yet?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/