From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752124Ab1LSP4U (ORCPT ); Mon, 19 Dec 2011 10:56:20 -0500 Received: from zene.cmpxchg.org ([85.214.230.12]:58835 "EHLO zene.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750734Ab1LSP4S (ORCPT ); Mon, 19 Dec 2011 10:56:18 -0500 Date: Mon, 19 Dec 2011 16:56:13 +0100 From: Johannes Weiner To: KAMEZAWA Hiroyuki Cc: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Michal Hocko , "akpm@linux-foundation.org" , Hugh Dickins , Ying Han Subject: Re: [PATCH 0/4] memcg: simplify LRU handling. Message-ID: <20111219155613.GE1415@cmpxchg.org> References: <20111214164734.4d7d6d97.kamezawa.hiroyu@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111214164734.4d7d6d97.kamezawa.hiroyu@jp.fujitsu.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 14, 2011 at 04:47:34PM +0900, KAMEZAWA Hiroyuki wrote: > > This series is onto linux-next + > memcg-add-mem_cgroup_replace_page_cache-to-fix-lru-issue.patch > > The 1st purpose of this patch is reduce overheads of mem_cgroup_add/del_lru. > They uses some atomic ops. Which is noticable. With a simple sparse file cat, mem_cgroup_lru_add_list() went from 1.12% cat [kernel.kallsyms] [k] mem_cgroup_lru_add_list to 0.31% cat [kernel.kallsyms] [k] mem_cgroup_lru_add_list and real time went down, too: 5 runs min median max in seconds vanilla: 7.762 7.782 7.816 patched: 7.622 7.631 7.660