Re: [PATCH 1/3] rbtree: Introduce rb_for_each_entry

From: Peter Zijlstra
Date: Wed Jan 13 2010 - 08:37:02 EST


On Wed, 2010-01-13 at 14:34 +0100, Frederic Weisbecker wrote:
> On Wed, Jan 13, 2010 at 02:16:09PM +0100, Peter Zijlstra wrote:
> > On Wed, 2010-01-13 at 11:01 -0200, Arnaldo Carvalho de Melo wrote:
> > > From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> > >
> > > Similar to list_for_each_entry, helps reducing boilerplate in many
> > > places and makes rbtrees closer to list.h macros.
> > >
> > > First conversion will be in the tools/perf.
> >
> > I'm still not sure you really want to do this, it might give people the
> > impression its a sane thing to do ;-)
>
>
> At least it matches many patterns in perf :)

Doesn't make it right.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/