[PATCH 0/2] usb_bus_list_lock updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think the usb_disconnect() comment update is pretty straightforward,
though more comment updates may be warranted.

The changes so usb_add_hcd() and usb_remove_hcd() don't hold the
usb_bus_list_lock around usb_disconnect() need more scrutiny from you
experts.  It *appears* unnecessary to me, and I'm pretty sure that other
callers (hub_quiesce() and hub_port_connect_change()) do not hold
usb_bus_list_lock while calling usb_disconnect().  But I know next to
nothing about the USB locking scheme.

---

Bjorn Helgaas (2):
      USB: remove claim that usb_disconnect() acquires usb_bus_list_lock
      USB: don't hold usb_bus_list_lock for usb_disconnect()

 drivers/usb/core/hcd.c |    4 ----
 drivers/usb/core/hub.c |    2 --
 2 files changed, 6 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux