linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: linux-mm@kvack.org, akpm@osdl.org
Subject: Re: OOM-killer for zone DMA?
Date: Fri, 27 Aug 2004 16:01:46 -0300	[thread overview]
Message-ID: <20040827190146.GA3332@logos.cnet> (raw)
In-Reply-To: <s5hoekwjz00.wl@alsa2.suse.de>

On Fri, Aug 27, 2004 at 07:02:07PM +0200, Takashi Iwai wrote:
> 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, 

The OOM killer heuristics seems to be pretty screwed up in current v2.6. 

Must be fixed ASAP.

--
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>

  reply	other threads:[~2004-08-27 19:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-27 17:02 Takashi Iwai
2004-08-27 19:01 ` Marcelo Tosatti [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040827190146.GA3332@logos.cnet \
    --to=marcelo.tosatti@cyclades.com \
    --cc=akpm@osdl.org \
    --cc=linux-mm@kvack.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox