Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751573Ab1CVDEx (ORCPT ); Mon, 21 Mar 2011 23:04:53 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:52408 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750873Ab1CVDEu (ORCPT ); Mon, 21 Mar 2011 23:04:50 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=Ue5250hINSnvSAuHYn9CQdCuE+op+fOIU/1zTUtXP6Usp6tDBsG5SLxjoUY/Isiu6B qKjbNQu3NpAX2BICAoLz5PH18jN01EarnezEA0ULbRBJuta8yaVkPleuNtkX94O58tRg 4hTNdB5YeQOJpBdmxmY5G5BMlj1WC4wTXP/Xs= Subject: Re: [PATCH 3/3] memcg: move page-freeing code outside of lock From: Namhyung Kim To: KAMEZAWA Hiroyuki Cc: Paul Menage , Li Zefan , containers@lists.linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org In-Reply-To: <20110322085938.0691f7f4.kamezawa.hiroyu@jp.fujitsu.com> References: <1300452855-10194-1-git-send-email-namhyung@gmail.com> <1300452855-10194-3-git-send-email-namhyung@gmail.com> <20110322085938.0691f7f4.kamezawa.hiroyu@jp.fujitsu.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 22 Mar 2011 12:04:39 +0900 Message-ID: <1300763079.1483.21.camel@leonhard> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 832 Lines: 30 2011-03-22 (화), 08:59 +0900, KAMEZAWA Hiroyuki: > On Fri, 18 Mar 2011 21:54:15 +0900 > Namhyung Kim wrote: > > > Signed-off-by: Namhyung Kim > > Cc: KAMEZAWA Hiroyuki > > What is the benefit of this patch ? > > -Kame > Oh, I just thought generally it'd better call such a (potentially) costly function outside of locks and it could reduce few of theoretical contentions between swapons and/or offs. If it doesn't help any realistic cases I don't mind discarding it. Thanks. -- Regards, Namhyung Kim -- 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/