From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751799AbbALLWg (ORCPT ); Mon, 12 Jan 2015 06:22:36 -0500 Received: from mx2.parallels.com ([199.115.105.18]:33650 "EHLO mx2.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751617AbbALLWe (ORCPT ); Mon, 12 Jan 2015 06:22:34 -0500 Date: Mon, 12 Jan 2015 14:22:27 +0300 From: Vladimir Davydov To: Johannes Weiner CC: Andrew Morton , Michal Hocko , , , Subject: Re: [patch 3/3] mm: memcontrol: consolidate swap controller code Message-ID: <20150112112227.GD384@esperanza> References: <1420856041-27647-1-git-send-email-hannes@cmpxchg.org> <1420856041-27647-3-git-send-email-hannes@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1420856041-27647-3-git-send-email-hannes@cmpxchg.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 09, 2015 at 09:14:01PM -0500, Johannes Weiner wrote: > The swap controller code is scattered all over the file. Gather all > the code that isn't directly needed by the memory controller at the > end of the file in its own CONFIG_MEMCG_SWAP section. > > Signed-off-by: Johannes Weiner I was always wondering why it had to be scattered all over the place. I guess we'll have to do the same for the kmem part. Reviewed-by: Vladimir Davydov From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by kanga.kvack.org (Postfix) with ESMTP id B7F2D6B0032 for ; Mon, 12 Jan 2015 06:22:36 -0500 (EST) Received: by mail-pa0-f49.google.com with SMTP id eu11so31480157pac.8 for ; Mon, 12 Jan 2015 03:22:36 -0800 (PST) Received: from mx2.parallels.com (mx2.parallels.com. [199.115.105.18]) by mx.google.com with ESMTPS id ix10si22925654pbc.107.2015.01.12.03.22.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Jan 2015 03:22:35 -0800 (PST) Date: Mon, 12 Jan 2015 14:22:27 +0300 From: Vladimir Davydov Subject: Re: [patch 3/3] mm: memcontrol: consolidate swap controller code Message-ID: <20150112112227.GD384@esperanza> References: <1420856041-27647-1-git-send-email-hannes@cmpxchg.org> <1420856041-27647-3-git-send-email-hannes@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1420856041-27647-3-git-send-email-hannes@cmpxchg.org> Sender: owner-linux-mm@kvack.org List-ID: To: Johannes Weiner Cc: Andrew Morton , Michal Hocko , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org On Fri, Jan 09, 2015 at 09:14:01PM -0500, Johannes Weiner wrote: > The swap controller code is scattered all over the file. Gather all > the code that isn't directly needed by the memory controller at the > end of the file in its own CONFIG_MEMCG_SWAP section. > > Signed-off-by: Johannes Weiner I was always wondering why it had to be scattered all over the place. I guess we'll have to do the same for the kmem part. Reviewed-by: Vladimir Davydov -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Davydov Subject: Re: [patch 3/3] mm: memcontrol: consolidate swap controller code Date: Mon, 12 Jan 2015 14:22:27 +0300 Message-ID: <20150112112227.GD384@esperanza> References: <1420856041-27647-1-git-send-email-hannes@cmpxchg.org> <1420856041-27647-3-git-send-email-hannes@cmpxchg.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: <1420856041-27647-3-git-send-email-hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Transfer-Encoding: 7bit To: Johannes Weiner Cc: Andrew Morton , Michal Hocko , linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On Fri, Jan 09, 2015 at 09:14:01PM -0500, Johannes Weiner wrote: > The swap controller code is scattered all over the file. Gather all > the code that isn't directly needed by the memory controller at the > end of the file in its own CONFIG_MEMCG_SWAP section. > > Signed-off-by: Johannes Weiner I was always wondering why it had to be scattered all over the place. I guess we'll have to do the same for the kmem part. Reviewed-by: Vladimir Davydov