From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx137.postini.com [74.125.245.137]) by kanga.kvack.org (Postfix) with SMTP id 36BA96B0062 for ; Mon, 19 Dec 2011 14:12:14 -0500 (EST) Received: by vcge1 with SMTP id e1so4372987vcg.14 for ; Mon, 19 Dec 2011 11:12:13 -0800 (PST) Date: Mon, 19 Dec 2011 11:12:09 -0800 (PST) From: David Rientjes Subject: Re: Android low memory killer vs. memory pressure notifications In-Reply-To: <20111219121255.GA2086@tiehlicka.suse.cz> Message-ID: References: <20111219025328.GA26249@oksana.dev.rtsoft.ru> <20111219121255.GA2086@tiehlicka.suse.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Anton Vorontsov , KOSAKI Motohiro , =?UTF-8?Q?Arve_Hj=C3=B8nnev=C3=A5g?= , Rik van Riel , Pavel Machek , Greg Kroah-Hartman , Andrew Morton , John Stultz , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Johannes Weiner , KAMEZAWA Hiroyuki On Mon, 19 Dec 2011, Michal Hocko wrote: > page_cgroup is 16B per page and with the current Johannes' memcg > naturalization work (in the mmotm tree) we are down to 8B per page (we > got rid of lru). Kamezawa has some patches to get rid of the flags so we > will be down to 4B per page on 32b. Is this still too much? > I would be really careful about a yet another lowmem notification > mechanism. > There was always general interest in a low memory notification mechanism even prior to memcg, see http://lwn.net/Articles/268732/ from Marcelo and KOSAKI-san. The desire is not only to avoid the metadata overhead of memcg, but also to avoid cgroups entirely. -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org