From: Hugh Dickins Subject: Re: [RFC/PATCH] cgroup swap subsystem Date: Wed, 5 Mar 2008 14:07:07 +0000 (GMT) Message-ID: References: <47CE36A9.3060204@mxp.nes.nec.co.jp> <47CE5AE2.2050303@openvz.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <47CE5AE2.2050303-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Pavel Emelyanov Cc: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org List-Id: containers.vger.kernel.org On Wed, 5 Mar 2008, Pavel Emelyanov wrote: > Daisuke Nishimura wrote: > > > > Todo: > > - rebase new kernel, and split into some patches. > > - Merge with memory subsystem (if it would be better), or > > remove dependency on CONFIG_CGROUP_MEM_CONT if possible > > (needs to make page_cgroup more generic one). > > Merge is a must IMHO. I can hardly imagine a situation in which > someone would need these two separately. Strongly agree. Nobody's interested in swap as such: it's just secondary memory, where RAM is primary memory. People want to control memory as the sum of the two; and I expect they may also want to control primary memory (all that the current memcg does) within that. I wonder if such nesting of limits fits easily into cgroups or will be problematic. Hugh