Re: DRM forced malloc(M_NOWAIT)

From: Kip Macy <kip.macy_at_gmail.com>
Date: Tue, 5 Dec 2006 14:39:37 -0800
I think John means anholt_at_

On 12/5/06, John Baldwin <jhb_at_freebsd.org> wrote:
>
> 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
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Tue Dec 05 2006 - 21:39:39 UTC

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