Re: DRM forced malloc(M_NOWAIT)



I think John means anholt@

On 12/5/06, John Baldwin <jhb@xxxxxxxxxxx> 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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"

_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: DTrace for FreeBSD - fbt output
    ... On Wednesday 14 June 2006 10:20, John Baldwin wrote: ... provider because you can easily cause the system to go kaboom. ... I recommend only enabling a few FBT ... (including sched_lock, turnstile chain locks, sleepqueue locks, etc.) ...
    (freebsd-current)
  • Re: How best to debug locking/scheduler problems
    ... On Wed, 17 Jun 2009, John Baldwin wrote: ... unp locks w/o any protection from the global unp linkage lock. ... I've changed it to use the same locking as uipc_acceptwhere it first grabs a read lock on the linkage lock and then just locks the other end of the connection to copy out its sockaddr. ...
    (freebsd-hackers)
  • RE: STI, HLT in acpi_cpu_idle_c1
    ... > John Baldwin wrote: ... > if it locks up again. ... have done cvs update and repeated. ... To unsubscribe, ...
    (freebsd-current)
  • Re: STI, HLT in acpi_cpu_idle_c1
    ... On Thursday 24 June 2004 04:17 pm, Gerrit Nagelhout wrote: ... > John Baldwin wrote: ... > if it locks up again. ... To unsubscribe, ...
    (freebsd-current)
  • Re: recent commits break via 8235 ata
    ... John Baldwin wrote: ... Updating after the commit shown above, ... For snd_hda on my Toshiba laptop, I can verify that reverting this ... Can you get boot verbose dmesg for both kernels? ...
    (freebsd-current)