backports.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Hauke Mehrtens <hauke@hauke-m.de>, backports@vger.kernel.org
Cc: Johannes Berg <johannes.berg@intel.com>
Subject: Re: [PATCH] backports: add rb_tree_cached
Date: Sat, 16 Oct 2021 14:11:09 +0200	[thread overview]
Message-ID: <2B913000-E02A-4933-B337-E6E43DD21AF6@sipsolutions.net> (raw)
In-Reply-To: <72a11f8f-66d4-4410-854d-1988f97b3d49@hauke-m.de>



On 16 October 2021 14:06:42 CEST, Hauke Mehrtens <hauke@hauke-m.de> wrote:
>On 7/15/21 6:00 PM, Johannes Berg wrote:
>> From: Johannes Berg <johannes.berg@intel.com>
>> 
>> We just map them to the normal rb_tree, losing the efficiency
>> gain in this case.
>> 
>> ticket=none
>> 
>> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
>
>I had a look at this too and the cached optimization seams to be 
>completely in the header file now, initially the in kernel rb lib code 
>was changed too.
>
>Sine this commit we should be able to fully backport this easily:
>https://git.kernel.org/linus/9f973cb38088e0cf42e0bae97ff140813e623f13
>

I guess I could've always done it that way, just didn't bother as it didn't seem so important, at least not to iwlwifi.

johannes 
-- 
Sent from my phone.
--
To unsubscribe from this list: send the line "unsubscribe backports" in

      reply	other threads:[~2021-10-16 12:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-15 16:00 [PATCH] backports: add rb_tree_cached Johannes Berg
2021-10-16 12:06 ` Hauke Mehrtens
2021-10-16 12:11   ` 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=2B913000-E02A-4933-B337-E6E43DD21AF6@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=backports@vger.kernel.org \
    --cc=hauke@hauke-m.de \
    --cc=johannes.berg@intel.com \
    /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).