From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Michel_D=c3=a4nzer?= Subject: Re: order 5 memory allocation failures in radeon_vm_get_bos Date: Fri, 17 Oct 2014 12:11:26 +0900 Message-ID: <544088DE.6020904@daenzer.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail.gna.ch (darkcity.gna.ch [195.226.6.51]) by gabe.freedesktop.org (Postfix) with ESMTP id 53CEB89EB8 for ; Thu, 16 Oct 2014 20:11:35 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Dave Airlie Cc: dri-devel List-Id: dri-devel@lists.freedesktop.org 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_ge= t_bos > > radeon_vm_get_bos+0x30/0x120 > > I think we should fallback to vmalloc or just use drm_malloc_ab in here i= nstead, > > any reason we haven't? I don't think so, see https://bugs.freedesktop.org/show_bug.cgi?id=3D81991 = . I didn't know about drm_malloc_ab, that looks like the easiest fix indeed. -- = Earthling Michel D=E4nzer | http://www.amd.com Libre software enthusiast | Mesa and X developer