dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Michel Dänzer" <michel@daenzer.net>
To: Dave Airlie <airlied@gmail.com>
Cc: dri-devel <dri-devel@lists.freedesktop.org>
Subject: Re: order 5 memory allocation failures in radeon_vm_get_bos
Date: Fri, 17 Oct 2014 12:11:26 +0900	[thread overview]
Message-ID: <544088DE.6020904@daenzer.net> (raw)
In-Reply-To: <CAPM=9txbZXwyCM8R7cmkO80Jecnof=RmHxg1ixdtLcSbA_ck0A@mail.gmail.com>

On 17.10.2014 09:23, Dave Airlie wrote:
> I have someone running F20 + a hacked up glamor to fix some leaks,
> however he is getting
> order 4/5 memory allocation failures in the kmalloc_array in radeon_vm_get_bos
>
> radeon_vm_get_bos+0x30/0x120
>
> I think we should fallback to vmalloc or just use drm_malloc_ab in here instead,
>
> any reason we haven't?

I don't think so, see https://bugs.freedesktop.org/show_bug.cgi?id=81991 
. I didn't know about drm_malloc_ab, that looks like the easiest fix indeed.


-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer

  reply	other threads:[~2014-10-17  3:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-17  0:23 order 5 memory allocation failures in radeon_vm_get_bos Dave Airlie
2014-10-17  3:11 ` Michel Dänzer [this message]
2014-10-17 17:30   ` Christian König
2014-10-22  1:10     ` Dave Airlie

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=544088DE.6020904@daenzer.net \
    --to=michel@daenzer.net \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    /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