DRM forced malloc(M_NOWAIT)

Kip Macy kip.macy at gmail.com
Tue Dec 5 14:39:39 PST 2006


I think John means anholt@

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@ 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"
>


More information about the freebsd-current mailing list