Re: DRM forced malloc(M_NOWAIT)

From: John Baldwin <jhb_at_freebsd.org>
Date: Tue, 5 Dec 2006 16:32:45 -0500
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_at_ about it.

-- 
John Baldwin
Received on Tue Dec 05 2006 - 21:31:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:03 UTC