[Intel-gfx] [PATCH 6/9] drm/i915: Split execlist priority queue into rbtree + linked list
Tvrtko Ursulin
tvrtko.ursulin at linux.intel.com
Fri May 5 13:50:46 UTC 2017
On 03/05/2017 12:37, Chris Wilson wrote:
[snip]
> +#include <linux/list.h>
> +
> +static inline void __list_del_many(struct list_head *head,
> + struct list_head *first)
> +{
> + head->next = first;
> + first->prev = head;
> +}
Btw it is similar to __list_cut_position, but without the second list
you don't need and deleting the first entry which you do not want.
So I am just thinking if consistent naming with the core function would
be beneficial like __list_cut_position_before/exclusive?
Regards,
Tvrtko
More information about the Intel-gfx
mailing list