From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756978AbZEDXdW (ORCPT ); Mon, 4 May 2009 19:33:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756306AbZEDXdM (ORCPT ); Mon, 4 May 2009 19:33:12 -0400 Received: from mx2.redhat.com ([66.187.237.31]:47737 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754984AbZEDXdL (ORCPT ); Mon, 4 May 2009 19:33:11 -0400 Message-ID: <49FF7B02.9050608@redhat.com> Date: Mon, 04 May 2009 19:32:18 -0400 From: Rik van Riel Organization: Red Hat, Inc User-Agent: Thunderbird 2.0.0.17 (X11/20080915) MIME-Version: 1.0 To: David Rientjes CC: Greg KH , =?UTF-8?B?QXJ2ZSBIasO4bm5ldsOlZw==?= , Andrew Morton , Nick Piggin , San Mehat , linux-kernel@vger.kernel.org, Greg KH Subject: Re: [patch 1/5] oom: cleanup android low memory killer References: <20090504220905.GA29402@kroah.com> <20090504225936.GA9876@kroah.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org David Rientjes wrote: > There was an interest in a low mem userspace notifier that applications > can poll() on at configurable low mem levels to react accordingly. This > would probably address the problem that the Android team is trying to fix. This would also make it easier for virtual machines to be ballooned down to size when the host experiences memory pressure. The low memory notification could also be useful for JVMs, databases that do (some of) their own caching and any garbage collected program in general. -- All rights reversed.