From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: the new VMt Date: Mon, 25 Sep 2000 17:55:58 +0100 (BST) In-Reply-To: from "Rik van Riel" at Sep 25, 2000 01:16:29 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: owner-linux-mm@kvack.org Return-Path: To: Rik van Riel Cc: Alan Cox , mingo@elte.hu, Andrea Arcangeli , Marcelo Tosatti , Linus Torvalds , Roger Larsson , MM mailing list , linux-kernel@vger.kernel.org List-ID: > > kmalloc 16K kmalloc 32K > > block block > > > 2) set PF_MEMALLOC on the task you're killing for OOM, > that way this task will either get the memory or > fail (note that PF_MEMALLOC tasks don't wait) Nobody is out of memory at this point. Everyone is in kernel space blocking for someone else. There is also no further allocation after this deadlock point to cause a kill -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux.eu.org/Linux-MM/