linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* OOM-killer for zone DMA?
@ 2004-08-27 17:02 Takashi Iwai
  2004-08-27 19:01 ` Marcelo Tosatti
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Takashi Iwai @ 2004-08-27 17:02 UTC (permalink / raw)
  To: linux-mm

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: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-08-30 15:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-27 17:02 OOM-killer for zone DMA? Takashi Iwai
2004-08-27 19:01 ` Marcelo Tosatti
2004-08-28  6:04 ` William Lee Irwin III
2004-08-30  9:35   ` Takashi Iwai
2004-08-28  6:10 ` Nick Piggin
2004-08-30  9:39   ` Takashi Iwai
2004-08-30 10:36     ` Nick Piggin
2004-08-30 15:41       ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox