Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2006 16:32:45 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Nick Hibma <nick@van-laarhoven.org>
Subject:   Re: DRM forced malloc(M_NOWAIT)
Message-ID:  <200612051632.45504.jhb@freebsd.org>
In-Reply-To: <20061204091744.E1194@localhost>
References:  <20061204091744.E1194@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 04 December 2006 03:19, Nick Hibma wrote:
> My console gets spammed with the messages below after starting X. Dmesg 
below 
> that.
> 
>  	cvs up -A
> 
> in sys/dev/drm yielded no updates just now.
> 
> Please let me know if you need additional information.
> 
> Nick
> 
> malloc(M_WAITOK) of "16", forcing M_NOWAIT with the following non-sleepable 
> locks held:
> ...
> bus_dma_tag_create(0,1000,0,ffffffff,ffffffff,...) at 
bus_dma_tag_create+0x174
> drm_pci_alloc(c255e800,1000,1000,ffffffff,c255e8d8,...) at 
drm_pci_alloc+0x54
> i915_dma_init(c2ab7100,80446440,c2ae9400,3,c28368c0,...) at 
i915_dma_init+0x2ed
> drm_ioctl(c2ab7100,80446440,c2ae9400,3,c28368c0,c07e8b48,0,c0758458,131) at 
> drm_ioctl+0x150

drm(4) shouldn't hold a lock when calling bus_dma_tag_create().  I'd ask 
aholt@ about it.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612051632.45504.jhb>