Thread (8 messages) 8 messages, 4 authors, 2004-08-30

Re: OOM-killer for zone DMA?

From: William Lee Irwin III <hidden>
Date: 2004-08-28 06:04:26

On Fri, Aug 27, 2004 at 07:02:07PM +0200, Takashi Iwai wrote:
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).
How are you triggering this?


-- wli
--
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: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help