order 5 memory allocation failures in radeon_vm_get_bos

Michel Dänzer michel at daenzer.net
Thu Oct 16 20:11:26 PDT 2014


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


More information about the dri-devel mailing list