Re: [PATCH 0/3] Advertising cache locking code refactoring

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

 



Hi Marcel,

On Thu, Feb 9, 2012 at 11:49 AM, Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote:
> Hi Andre,
>
>> This patch series does some code refactoring in advertising cache locking
>> related code. This work is a small effort to improve locking usage in
>> Bluetooth subsystem.
>>
>> BR,
>>
>> Andre
>>
>> Andre Guedes (3):
>>   Bluetooth: Add prefix "__" to advertising cache functions
>>   Bluetooth: Create thread-safe advertising cache functions
>>   Bluetooth: Use advertising cache thread-safe functions
>>
>>  include/net/bluetooth/hci_core.h |    4 +++
>>  net/bluetooth/hci_conn.c         |    2 +-
>>  net/bluetooth/hci_core.c         |   51 +++++++++++++++++++++++++++++++------
>>  net/bluetooth/hci_event.c        |    6 +---
>>  4 files changed, 48 insertions(+), 15 deletions(-)
>
> so I looked through this patch series and the only useful patch is 1/3
> and even that one is kinda questionable. However if people in general
> find this a bit clearer that we prefix unlocked hdev functions with __,
> then I would be fine is it. Opinions anybody?

Not sure if you saw my replies. I said this series is not needed at
all IMO. And if we want to prefix unlocked hdev functions with __ then
we better change all of them to have everything consistent. And I'm
really against adding locked versions if we're not really using them.

Best regards,

-- 
Ulisses Furquim
ProFUSION embedded systems
http://profusion.mobi
Mobile: +55 19 9250 0942
Skype: ulissesffs
--
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