[PATCH v2 1/1] drm/mm: optimize rb_hole_addr rbtree search

Nirmoy nirmodas at amd.com
Thu Apr 30 10:30:43 UTC 2020


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 :)

Nirmoy

>
> Looks good, I'll check more carefully later.
> -Chris
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fdri-devel&data=02%7C01%7Cnirmoy.das%40amd.com%7Cfa3f0888c45546cdd9c308d7ecef60eb%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637238385206441661&sdata=%2Fnn7QOOukYEcawU0bZ5WWjy99TVOpWouNPxlC8%2BW2FU%3D&reserved=0


More information about the dri-devel mailing list