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

Christoph Hellwig (hch@infradead.org)
Sat, 28 Sep 2002 14:47:22 +0100


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/