[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120313142635.a6a7b806.kamezawa.hiroyu@jp.fujitsu.com>
Date: Tue, 13 Mar 2012 14:26:35 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: Konstantin Khlebnikov <khlebnikov@...nvz.org>
Cc: Hugh Dickins <hughd@...gle.com>,
Johannes Weiner <jweiner@...hat.com>, linux-mm@...ck.org,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 4.5/7] mm: optimize isolate_lru_pages()
On Sun, 11 Mar 2012 18:36:16 +0400
Konstantin Khlebnikov <khlebnikov@...nvz.org> wrote:
> This patch moves lru checks from __isolate_lru_page() to its callers.
>
> They aren't required on non-lumpy reclaim: all pages are came from right lru.
> Pages isolation on memory compaction should skip only unevictable pages.
> Thus we need to check page lru only on pages isolation for lumpy-reclaim.
>
> Plus this patch kills mem_cgroup_lru_del() and uses mem_cgroup_lru_del_list()
> instead, because now we already have lru list index.
>
> Signed-off-by: Konstantin Khlebnikov <khlebnikov@...nvz.org>
>
> add/remove: 0/1 grow/shrink: 2/1 up/down: 101/-164 (-63)
> function old new delta
> static.isolate_lru_pages 1018 1103 +85
> compact_zone 2230 2246 +16
> mem_cgroup_lru_del 65 - -65
> __isolate_lru_page 287 188 -99
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
--
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