All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Koen Vandeputte <koen.vandeputte@ncentric.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH] mac80211: only alloc mem if a station doesnt exist yet
Date: Thu, 15 Dec 2016 10:57:40 +0100	[thread overview]
Message-ID: <1481795860.2582.2.camel@sipsolutions.net> (raw)
In-Reply-To: <1481732939-8237-1-git-send-email-koen.vandeputte@ncentric.com> (sfid-20161214_172943_690139_0107B3BF)

On Wed, 2016-12-14 at 17:28 +0100, Koen Vandeputte wrote:
> This speeds up the function in case a station already exists by
> avoiding
> calling an expensive kzalloc just to free it again after the next
> check.

It's not like this is called often, but yeah - still makes sense.

Applied.

johannes

      reply	other threads:[~2016-12-15  9:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-14 16:28 [PATCH] mac80211: only alloc mem if a station doesnt exist yet Koen Vandeputte
2016-12-15  9:57 ` Johannes Berg [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=1481795860.2582.2.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=koen.vandeputte@ncentric.com \
    --cc=linux-wireless@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.