[haiku-bugs] Re: [Haiku] #12929: [XHCI] crash in _LinkDescriptorForPipe()

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 18 Feb 2019 16:00:39 -0000

#12929: [XHCI] crash in _LinkDescriptorForPipe()
--------------------------------+----------------------------------------
   Reporter:  diver             |      Owner:  nobody
       Type:  bug               |     Status:  assigned
   Priority:  normal            |  Milestone:  R1/beta2
  Component:  Drivers/USB/XHCI  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:  12915, 12951, 13912, 14798
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------------------

Comment (by korli):

 Replying to [comment:14 waddlesplash]:

Is there a reason we allocate/free descriptors for every request? That
 seems a little slow to say the least.

 This mirrors what EHCI does already, aka the USB stack manages memory
 chunks for the bus driver. Yes, xhci_td could be cached, but I suppose the
 overhead isn't noticeable.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/12929#comment:15>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: