From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx201.postini.com [74.125.245.201]) by kanga.kvack.org (Postfix) with SMTP id EEF446B004D for ; Tue, 20 Dec 2011 09:57:01 -0500 (EST) Received: by werf1 with SMTP id f1so2814513wer.14 for ; Tue, 20 Dec 2011 06:57:00 -0800 (PST) Date: Tue, 20 Dec 2011 18:56:54 +0400 From: Anton Vorontsov Subject: Re: Android low memory killer vs. memory pressure notifications Message-ID: <20111220145654.GA26881@oksana.dev.rtsoft.ru> References: <20111219025328.GA26249@oksana.dev.rtsoft.ru> <20111219121255.GA2086@tiehlicka.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: David Rientjes Cc: Michal Hocko , KOSAKI Motohiro , Arve =?utf-8?B?SGrDuG5uZXbDpWc=?= , 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, Dec 19, 2011 at 11:12:09AM -0800, David Rientjes wrote: > 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. Hm, assuming that metadata is no longer an issue, why do you think avoiding cgroups would be a good idea? Thanks, -- Anton Vorontsov Email: cbouatmailru@gmail.com -- 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