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