Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753251Ab2F3DsJ (ORCPT ); Fri, 29 Jun 2012 23:48:09 -0400 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:44949 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751126Ab2F3DsH (ORCPT ); Fri, 29 Jun 2012 23:48:07 -0400 X-SecurityPolicyCheck: OK by SHieldMailChecker v1.7.4 Message-ID: <4FEE7665.6020409@jp.fujitsu.com> Date: Sat, 30 Jun 2012 12:45:41 +0900 From: Kamezawa Hiroyuki User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Tejun Heo CC: David Rientjes , Michal Hocko , Zhouping Liu , linux-mm@kvack.org, Li Zefan , CAI Qian , LKML , Andrew Morton Subject: Re: memcg: cat: memory.memsw.* : Operation not supported References: <2a1a74bf-fbb5-4a6e-b958-44fff8debff2@zmail13.collab.prod.int.phx2.redhat.com> <34bb8049-8007-496c-8ffb-11118c587124@zmail13.collab.prod.int.phx2.redhat.com> <20120627154827.GA4420@tiehlicka.suse.cz> <20120627200926.GR15811@google.com> <20120627202430.GS15811@google.com> <4FEBD7C0.7090906@jp.fujitsu.com> <20120628183145.GE22641@google.com> In-Reply-To: <20120628183145.GE22641@google.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 913 Lines: 27 (2012/06/29 3:31), Tejun Heo wrote: > Hello, KAME. > > On Thu, Jun 28, 2012 at 01:04:16PM +0900, Kamezawa Hiroyuki wrote: >>> I still wish it's folded into CONFIG_MEMCG and conditionalized just on >>> CONFIG_SWAP tho. >>> >> >> In old days, memsw controller was not very stable. So, we devided the config. >> And, it makes size of memory for swap-device double (adds 2bytes per swapent.) >> That is the problem. > > I see. Do you think it's now reasonable to drop the separate config > option? Having memcg enabled but swap unaccounted sounds half-broken > to me. > Hmm. Maybe it's ok if we can keep boot option. I'll cook a patch in the next week. Thanks, -Kame -- 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/