Re: [PATCH][2.5] Single linked lists for Linux, overly complicated v2

From: Rik van Riel (riel@conectiva.com.br)
Date: Thu Sep 26 2002 - 14:29:32 EST


On Thu, 26 Sep 2002, Thunder from the hill wrote:

> We don't know the parent structure. We shouldn't know it, since it takes
> time. So I try to keep the address pointer stable instead of just
> exchanging pointers.

In the case of slist_del() you HAVE to know it.

Think about removing a single entry from the middle of
the list ... the entries before and after need to stay
on the list.

Rik

-- 
A: No.
Q: Should I include quotations after my reply?

http://www.surriel.com/ http://distro.conectiva.com/

- 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/



This archive was generated by hypermail 2b29 : Mon Sep 30 2002 - 22:00:27 EST