[PATCH v2 1/1] drm/mm: optimize rb_hole_addr rbtree search
chris at chris-wilson.co.uk
Sat May 2 09:00:00 UTC 2020
Quoting Nirmoy (2020-04-30 11:30:43)
> On 4/30/20 12:15 PM, Chris Wilson wrote:
> > Quoting Nirmoy Das (2020-04-30 10:58:39)
> >> +void insert_hole_addr(struct rb_root *root, struct drm_mm_node *node)
> > ^ static
> Ah I forgot!
> > (sparse [make C=1] or make W=1 will spot this)
> Thanks for the tip :)
> > Looks good, I'll check more carefully later.
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
If you do find some time to add some more tests, that would be great!
Even converting your example into a test-drm_mm benchmark [spending a
few seconds runtime max!] will be very useful.
More information about the dri-devel