From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757528Ab2FDWlb (ORCPT ); Mon, 4 Jun 2012 18:41:31 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:64775 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756253Ab2FDWla (ORCPT ); Mon, 4 Jun 2012 18:41:30 -0400 Date: Mon, 4 Jun 2012 15:39:51 -0700 From: Anton Vorontsov To: KOSAKI Motohiro Cc: Minchan Kim , Pekka Enberg , Leonid Moiseichuk , John Stultz , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linaro-kernel@lists.linaro.org, patches@linaro.org, kernel-team@android.com Subject: Re: [PATCH 0/5] Some vmevent fixes... Message-ID: <20120604223951.GA20591@lizard> References: <20120601122118.GA6128@lizard> <4FCC7592.9030403@kernel.org> <20120604113811.GA4291@lizard> <4FCD14F1.1030105@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4FCD14F1.1030105@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 04, 2012 at 04:05:05PM -0400, KOSAKI Motohiro wrote: [...] > >Yes, nobody throws Android lowmemory killer away. And recently I fixed > >a bunch of issues in its tasks traversing and killing code. Now it's > >just time to "fix" statistics gathering and interpretation issues, > >and I see vmevent as a good way to do just that, and then we > >can either turn Android lowmemory killer driver to use the vmevent > >in-kernel API (so it will become just a "glue" between notifications > >and killing functions), or use userland daemon. > > Huh? No? android lowmem killer is a "killer". it doesn't make any notification, > it only kill memory hogging process. I don't think we can merge them. KOSAKI, you don't read what I write. I didn't ever say that low memory killer makes any notifications, that's not what I was saying. I said that once we'll have a good "low memory" notification mechanism (e.g. vmevent), Android low memory killer would just use this mechanism. Be it userland notifications or in-kernel, doesn't matter much. -- Anton Vorontsov Email: cbouatmailru@gmail.com