Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 18 Jul 2002 13:31:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 18 Jul 2002 13:31:15 -0400 Received: from divine.city.tvnet.hu ([195.38.100.154]:15368 "EHLO divine.city.tvnet.hu") by vger.kernel.org with ESMTP id ; Thu, 18 Jul 2002 13:31:14 -0400 Date: Thu, 18 Jul 2002 18:36:13 +0200 (MEST) From: Szakacsits Szabolcs To: Robert Love cc: , Subject: Re: [PATCH] strict VM overcommit for stock 2.4 In-Reply-To: <1027009865.1555.105.camel@sinai> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1001 Lines: 27 On 18 Jul 2002, Robert Love wrote: > I do not see anything in this email related to the issue at hand. You solve a problem and introduce a potentially more serious one. Strict overcommit is requisite but not satisfactory. > Specifically, what livelock situation are you insinuating? If we only > allow allocation that are met by the backing store, we cannot get > anywhere near OOM. This is what I would do first [make sure you don't hit any resource, malloc, kernel memory mapping, etc limits -- this is a simulation that must eat all available memory continually]: main(){void *x;while(1)if(x=malloc(4096))memset(x,666,4096);} When the above used up all the memory try to ssh/login to the box as root and clean up the mess. Can you do it? Szaka - 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/