Re: [PATCH][2.5] Single linked headed lists for Linux, v3

From: Christoph Hellwig (hch@infradead.org)
Date: Sat Sep 28 2002 - 08:47:22 EST


On Sat, Sep 28, 2002 at 07:45:00AM -0600, Thunder from the hill wrote:
> Hi,
>
> On Sat, 28 Sep 2002, Christoph Hellwig wrote:
> > On Sat, Sep 28, 2002 at 07:27:37AM -0600, Thunder from the hill wrote:
> > > Sorry, inline taints the concept. It's supposed to work with any type.
> > > (This time.) We've had crappy times with list.h, so slist.h shall not use
> > > inlines.
> >
> > Define crappy times.
>
> - casts
> - list members had to be in some specified place of the struct
> - some binary disadvantages

All of those are utter crap. Older gcc's had some little inlining
problems that generated suboptimal code, but that's cured now and
I don't thikn it even made a difference for the small list_* functions.
-
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:37 EST