Re: [PATCH 6/6] usb/composite: merge the two spinlocks

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

 



Hello.

On 28-01-2012 0:33, Sebastian Andrzej Siewior wrote:

We have one spin lock for delayed status. This patch simply merges them

   Them? What6's the second spinlock?

into one. This leaves the mutex to only protect against list
manipulation of set config&  function entries.
Adding entries to this list happens in single thread context and removal
happens on device removal once everything is gone. So we don't need it
in those places right now.

Signed-off-by: Sebastian Andrzej Siewior<bigeasy@xxxxxxxxxxxxx>

WBR, Sergei


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