From: Andrew Morton <akpm@linux-foundation.org>
To: Davidlohr Bueso <dave@stgolabs.net>
Cc: mingo@kernel.org, peterz@infradead.org,
torvalds@linux-foundation.org, jack@suse.cz,
kirill.shutemov@linux.intel.com, ldufour@linux.vnet.ibm.com,
mhocko@suse.com, mgorman@techsingularity.net,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next v3 0/9] rbtree: Cache leftmost node internally
Date: Wed, 19 Jul 2017 15:54:07 -0700 [thread overview]
Message-ID: <20170719155407.6002707adc68e8de833ffe49@linux-foundation.org> (raw)
In-Reply-To: <20170629171553.2146-1-dave@stgolabs.net>
On Thu, 29 Jun 2017 10:15:44 -0700 Davidlohr Bueso <dave@stgolabs.net> wrote:
> Changes from v2 (https://lkml.org/lkml/2017/6/8/857):
> - Fixed 0day reported crash for drm_mm selftest program. We were
> not correctly using the cached version of rbtree with the allocated
> nodes.
> - Added cfq patch to use internal rbtree caching.
> - Added Christian's and Jan's reviews.
>
> Changes from v1 (https://marc.info/?l=linux-kernel&m=149611025616685):
> - No longer rfc.
> - Removed bogus semimcolon in rb_first_cached()
> - Updated missing interval tree user drivers/infiniband/hw/hfi1/
> - Removed redundant @cached arg in when erasing a node.
> - Added more patches that make use of rb_first_cached(), which I
> thought might be worth it: procfs and epoll.
> - Cc more people for patch 5, which touches drivers such as infiniband
> and gpu. The rest of the changes are pretty covered with the current
> Cc'ed maintainers and mm folks.
>
> Hi,
>
> Here's a proposal for extending rbtrees to internally cache the leftmost
> node such that we can have fast overlap check optimization for all interval
> tree users[1]. The benefits of this series are that:
>
> (i) Unify users that do internal leftmost node caching.
That's nice. Except the series adds more lines than it removes.
> (ii) Optimize all interval tree users.
Was any attempt made to quantify the benefit?
> (iii) Convert at least two new users (epoll and procfs) to the new interface.
>
next prev parent reply other threads:[~2017-07-19 22:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-29 17:15 [PATCH -next v3 0/9] rbtree: Cache leftmost node internally Davidlohr Bueso
2017-06-29 17:15 ` [PATCH 1/9] " Davidlohr Bueso
2017-07-15 10:54 ` Christoph Hellwig
2017-07-15 15:28 ` Davidlohr Bueso
2017-06-29 17:15 ` [PATCH 2/9] sched/fair: Replace cfs_rq->rb_leftmost Davidlohr Bueso
2017-06-29 17:15 ` [PATCH 3/9] sched/deadline: Replace earliest dl and rq leftmost caching Davidlohr Bueso
2017-06-29 17:15 ` [PATCH 4/9] locking/rtmutex: Replace top-waiter and pi_waiters " Davidlohr Bueso
2017-06-29 17:15 ` [PATCH 5/9] block/cfq: Replace cfq_rb_root " Davidlohr Bueso
2017-06-29 17:15 ` [PATCH 6/9] lib/interval_tree: Fast overlap detection Davidlohr Bueso
2017-06-29 17:15 ` [PATCH 7/9] lib/interval-tree: Correct comment wrt generic flavor Davidlohr Bueso
2017-06-29 17:15 ` [PATCH 8/9] procfs: Use faster rb_first_cached() Davidlohr Bueso
2017-06-29 17:15 ` [PATCH 9/9] fs/epoll: " Davidlohr Bueso
2017-07-05 17:47 ` [PATCH -next v3 0/9] rbtree: Cache leftmost node internally Peter Zijlstra
2017-07-19 22:54 ` Andrew Morton [this message]
2017-07-19 23:00 ` Davidlohr Bueso
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=20170719155407.6002707adc68e8de833ffe49@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=dave@stgolabs.net \
--cc=jack@suse.cz \
--cc=kirill.shutemov@linux.intel.com \
--cc=ldufour@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mgorman@techsingularity.net \
--cc=mhocko@suse.com \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=torvalds@linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox