[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111219103954.354d68af@pyramind.ukuu.org.uk>
Date: Mon, 19 Dec 2011 10:39:54 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Anton Vorontsov <anton.vorontsov@...aro.org>
Cc: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
Arve Hjønnevåg <arve@...roid.com>,
Rik van Riel <riel@...hat.com>, Pavel Machek <pavel@....cz>,
Greg Kroah-Hartman <gregkh@...e.de>,
Andrew Morton <akpm@...ux-foundation.org>,
David Rientjes <rientjes@...gle.com>,
Michal Hocko <mhocko@...e.cz>,
John Stultz <john.stultz@...aro.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: Android low memory killer vs. memory pressure notifications
> The main downside of this approach is that mem_cg needs 20 bytes per
> page (on a 32 bit machine). So on a 32 bit machine with 4K pages
> that's approx. 0.5% of RAM, or, in other words, 5MB on a 1GB machine.
The obvious question would be why? Would fixing memcg make more sense ?
The only problem I see with having a user space manager is that manager
probably has to be mlock to avoid awkward fail cases and that may in fact
make it smaller kernel side.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists