Re: [PATCH 3/4] usb: Convert usb_bus_idr to XArray

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

 



On Mon, 18 Mar 2019, Matthew Wilcox wrote:

> Remove the usb_bus_idr_lock as it doesn't appear to be protecting
> anything more than the built-in XArray lock does.
> 
> Signed-off-by: Matthew Wilcox <willy@xxxxxxxxxxxxx>
> ---
>  drivers/usb/core/devices.c      | 10 +++------
>  drivers/usb/core/hcd.c          | 40 ++++++++-------------------------
>  drivers/usb/core/usb.c          |  1 -
>  drivers/usb/host/r8a66597-hcd.c |  4 +---
>  drivers/usb/mon/mon_main.c      |  7 +++---
>  include/linux/usb/hcd.h         |  3 +--
>  6 files changed, 17 insertions(+), 48 deletions(-)

This certainly looks correct, but I haven't tested it.  If you get the
same data in /sys/kernel/debug/usb/devices with the patch and without
it, feel free to add:

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

Alan Stern




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

  Powered by Linux