From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with ESMTP id 15E056B004D for ; Fri, 27 Nov 2009 04:48:34 -0500 (EST) Message-ID: <4B0FA060.4050907@parallels.com> Date: Fri, 27 Nov 2009 12:48:16 +0300 From: Pavel Emelyanov MIME-Version: 1.0 Subject: Re: memcg: slab control References: <20091126113209.5A68.A69D9226@jp.fujitsu.com> <604427e00911262301tac7f55avedd44263fbabccc2@mail.gmail.com> In-Reply-To: <604427e00911262301tac7f55avedd44263fbabccc2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Ying Han Cc: KOSAKI Motohiro , David Rientjes , Balbir Singh , Pavel Emelyanov , KAMEZAWA Hiroyuki , Suleiman Souhlal , linux-mm@kvack.org List-ID: Ying Han wrote: > I kind of like the idea to have a kernel memory controller instead of > kernel slab controller. > If we only count kernel slabs, do we need another mechanism to count > kernel allocations > directly from get_free_pages() ? We do. Look at what get_free_pages we mark with GFP_UBC in beancounters and see, that if we don't count them this creates way to DoS the kernel. > --Ying >> >> Thanks. >> >> > > -- 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