[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120116092745.7721ff31.kamezawa.hiroyu@jp.fujitsu.com>
Date: Mon, 16 Jan 2012 09:27:45 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: Hillf Danton <dhillf@...il.com>
Cc: linux-mm@...ck.org, Hugh Dickins <hughd@...gle.com>,
Rik van Riel <riel@...hat.com>,
David Rientjes <rientjes@...gle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mm: vmscan: handle isolated pages with lru lock
released
On Sat, 14 Jan 2012 20:05:11 +0800
Hillf Danton <dhillf@...il.com> wrote:
> On Fri, Jan 13, 2012 at 11:00 PM, Hillf Danton <dhillf@...il.com> wrote:
> ===cut here===
> From: Hillf Danton <dhillf@...il.com>
> Subject: [PATCH] mm: vmscan: handle isolated pages with lru lock released
>
> When shrinking inactive lru list, isolated pages are queued on locally private
> list, so the lock-hold time could be reduced if pages are counted without lock
> protection. To achive that, firstly updating reclaim stat is delayed until the
> putback stage, which is pointed out by Hugh, after reacquiring the lru lock.
>
> Secondly operations related to vm and zone stats, are now proteced with
> preemption disabled as they are per-cpu operation.
>
> Thanks for comments and ideas received.
>
>
> Signed-off-by: Hillf Danton <dhillf@...il.com>
Nice.
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