linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Ulisses Furquim <ulisses@profusion.mobi>
Cc: Andre Guedes <aguedespe@gmail.com>,
	linux-bluetooth@vger.kernel.org, andre.guedes@openbossa.org
Subject: Re: [PATCH 0/3] Advertising cache locking code refactoring
Date: Thu, 09 Feb 2012 20:18:47 +0100	[thread overview]
Message-ID: <1328815127.28848.36.camel@aeonflux> (raw)
In-Reply-To: <CAA37ikZVxFvCjSbNcpA5_XSK7mLj3M6uZyqYGDOJhhmT9Y8t_g@mail.gmail.com>

Hi Ulisses,

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

I agree, no locked versions if we don't need them. We can add them
always later when we do.

And I am fine with __ prefixes for all unlocked functions, but yes, we
should be 100% consistent then.

Regards

Marcel



      reply	other threads:[~2012-02-09 19:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-07  4:29 [PATCH 0/3] Advertising cache locking code refactoring Andre Guedes
2012-02-07  4:29 ` [PATCH 1/3] Bluetooth: Add prefix "__" to advertising cache functions Andre Guedes
2012-02-07  4:29 ` [PATCH 2/3] Bluetooth: Create thread-safe " Andre Guedes
2012-02-07  4:29 ` [PATCH 3/3] Bluetooth: Use advertising cache thread-safe functions Andre Guedes
2012-02-07 10:48   ` Anderson Lizardo
2012-02-07 12:20     ` Andre Guedes
2012-02-07 13:26       ` Ulisses Furquim
2012-02-07 14:46         ` Andre Guedes
2012-02-07 15:20           ` Ulisses Furquim
2012-02-07 17:41             ` Andre Guedes
2012-02-07 17:47               ` Ulisses Furquim
2012-02-09 13:49 ` [PATCH 0/3] Advertising cache locking code refactoring Marcel Holtmann
2012-02-09 17:23   ` Ulisses Furquim
2012-02-09 19:18     ` Marcel Holtmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1328815127.28848.36.camel@aeonflux \
    --to=marcel@holtmann.org \
    --cc=aguedespe@gmail.com \
    --cc=andre.guedes@openbossa.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=ulisses@profusion.mobi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).