Re: [RFCv5 02/16] Bluetooth: Revert to mutexes from RCU list

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

 



Hi Ulisses,

On Mon, Feb 20, 2012 at 09:55:35AM -0200, Ulisses Furquim wrote:
> 
> >> With patch 3 you add some needed changes but then adds an imbalance of
> >> lock/release sock locks which is only solved in patch 4. Why?
> >
> > How does patch 4 solves locking? If I did not miss something it shall
> > not change anything.
> 
> For instance, in patch 3 you replace l2cap_get_chan_by_scid() with __
> l2cap_get_chan_by_scid() in l2cap_connect_rsp(). However,  __
> l2cap_get_chan_by_scid() doesn't lock_sock() as the other one did and
> only in patch 4 you add an explicit lock_sock() to
> l2cap_connect_rsp(). Got it? A commit should be self contained as much
> as possible so we keep the code bisectable.

You are right here, I will squash those mentioned patches since this is
easy way.

Best regards 
Andrei Emeltchenko 

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux