> > > - add list_for_each_noprefetch() to list.h, for all those list users who
> > > know that in the majority of cases the list is going to be short.
> > That name is really ugly, as the lack ofthe prefetch is an implementation
> > detail. What about list_for_each_short or __list_for_each?
>
> Wasn't this the reason we have list_for_each_safe() ?
no, list_for_each_safe() is a loop that is entry-removal safe.
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/