From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id BB7B7B1A288 for ; Fri, 27 Aug 2004 19:02:07 +0200 (CEST) Date: Fri, 27 Aug 2004 19:02:07 +0200 Message-ID: From: Takashi Iwai Subject: OOM-killer for zone DMA? MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: linux-mm@kvack.org List-ID: Hi, In the primary version of my DMA allocation patch, I tried to allocate pages with GFP_DMA as much as possible, then allocate with GFP_KERNEL as fallback. But this doesn't work. When the zone DMA is exhausted, I oberseved endless OOM-killer. Is this a desired behavior? I don't think triggering OOM-killer for zone DMA makes sense, because apps don't allocate pages in this area... Note that the driver tried to allocate bunch of single pages with GFP_DMA, not big pages, by calling dma_alloc_coherent with GFP_DMA only (no __GFP_REPEAT or such modifiers). Takashi -- 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-mm.org/ . Don't email: aart@kvack.org