[Intel-gfx] [PATCH 1/2] lib/rbtree, drm/mm: Add rbtree_replace_node_cached()
Joonas Lahtinen
joonas.lahtinen at linux.intel.com
Tue Nov 21 08:49:25 UTC 2017
On Fri, 2017-11-10 at 06:26 -0800, Davidlohr Bueso wrote:
> On 2017-11-09 13:24, Chris Wilson wrote:
> > Add a variant of rbtree_replace_node() that maintains the leftmost
> > cached of struct rbtree_root_cached when replacing nodes within the
> > rbtree.
> >
> > As drm_mm is the only rb_replace_node() being used on an interval tree,
> > the mistake looks fairly self-contained. Furthermore the only user of
> > drm_mm_replace_node() is its testsuite...
> >
> > Fixes: f808c13fd373 ("lib/interval_tree: fast overlap detection")
> > Testcase: igt/drm_mm/replace
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Davidlohr Bueso <dbueso at suse.de>
> > Cc: Jérôme Glisse <jglisse at redhat.com>
> > Cc: Andrew Morton <akpm at linux-foundation.org>
> > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> > Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
>
> Thanks!
>
> Acked-by: Davidlohr Bueso <dbueso at suse.de>
Would you like us to merge this patch through the DRM tree or how would
you like us to proceed?
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
More information about the Intel-gfx
mailing list