Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756695Ab2FDJUU (ORCPT ); Mon, 4 Jun 2012 05:20:20 -0400 Received: from mail-yw0-f46.google.com ([209.85.213.46]:44292 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751596Ab2FDJUT (ORCPT ); Mon, 4 Jun 2012 05:20:19 -0400 MIME-Version: 1.0 In-Reply-To: <4FCC7592.9030403@kernel.org> References: <20120504073810.GA25175@lizard> <20120507121527.GA19526@lizard> <4FA82056.2070706@gmail.com> <20120601122118.GA6128@lizard> <4FCC7592.9030403@kernel.org> Date: Mon, 4 Jun 2012 12:20:18 +0300 X-Google-Sender-Auth: 0goRYiRcjYUyG76llyMdK8hnOnU Message-ID: Subject: Re: [PATCH 0/5] Some vmevent fixes... From: Pekka Enberg To: Minchan Kim Cc: Anton Vorontsov , KOSAKI Motohiro , 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 Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1622 Lines: 34 On Mon, Jun 4, 2012 at 11:45 AM, Minchan Kim wrote: > KOSAKI, AFAIRC, you are a person who hates android low memory killer. > Why do you hate it? If it solve problems I mentioned, do you have a concern, still? > If so, please, list up. > > Android low memory killer is proved solution for a long time, at least embedded > area(So many android phone already have used it) so I think improving it makes > sense to me rather than inventing new wheel. VM events started out as *ABI cleanup* of Nokia's N9 Linux lowmem notifier. That's not reinventing the wheel. On Mon, Jun 4, 2012 at 11:45 AM, Minchan Kim wrote: > Frankly speaking, I don't know vmevent's other use cases except low memory > notification and didn't see any agreement about that with other guys. I think you are missing the point. "vmevent" is an ABI for delivering VM events to userspace. I started it because different userspaces do not agree what "low memory" means - for obvious reasons. As for use cases, it'd be useful for VMs to be notified of "about to swap your pages soon" so that they can aggressively GC before entering GC-swapstorm hell. I also hear that something similar would be useful for KVM/QEMU but I don't know the details. I really don't see how Android's "low memory killer" will be useful as a generic solution. Pekka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/