From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758075AbZEOT6z (ORCPT ); Fri, 15 May 2009 15:58:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753058AbZEOT6r (ORCPT ); Fri, 15 May 2009 15:58:47 -0400 Received: from smtp3.ultrahosting.com ([74.213.175.254]:57462 "EHLO smtp.ultrahosting.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751740AbZEOT6r (ORCPT ); Fri, 15 May 2009 15:58:47 -0400 Date: Fri, 15 May 2009 15:29:31 -0400 (EDT) From: Christoph Lameter X-X-Sender: cl@qirst.com To: Dave Hansen cc: Pavel Machek , David Rientjes , Andrew Morton , Greg Kroah-Hartman , Nick Piggin , Mel Gorman , Peter Ziljstra , San Mehat , Arve Hj?nnev?g , linux-kernel@vger.kernel.org Subject: Re: Misleading OOM messages In-Reply-To: <1242411727.28257.39.camel@nimitz> Message-ID: References: <20090514092909.GG1365@ucw.cz> <1242333519.15391.210.camel@nimitz> <1242335120.15391.242.camel@nimitz> <20090514213403.GB14741@elf.ucw.cz> <1242337299.28440.47.camel@nimitz> <20090515130547.GA1976@elf.ucw.cz> <1242411727.28257.39.camel@nimitz> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 15 May 2009, Dave Hansen wrote: > Perhaps we should ensure that total RAM mlock()ed + vm_dirty_bytes is > always under total ram. That'll force people to either stop mlocking or > do the safe thing which is drop vm_dirty_bytes. Guess a global mlock ratio would be good? Set it at a reasonable limit of 10% and tell the user that the system may OOM if set too high.