Re: [PATCH 02/10] perf, trace: Use per-tracepoint-per-cpu hlist to track events

Ingo Molnar
2010-05-21T10:51:13Z

* Ingo Molnar <mingo@elte.hu> wrote:

>
> * Peter Zijlstra <peterz@infradead.org> wrote:
>
> > On Fri, 2010-05-21 at 12:13 +0200, Frederic Weisbecker wrote:
> > > > What exactly is the puzzlement about?
> >
> > > The fact we use the hlist API not for hlist purpose
> > > but for a list.
> >
> > I might miss the confusion, but hlist _are_ lists. Its
> > just that their structure is slightly different that
> > the regular struct list_head stuff.
>
> Using an API in such a mixed way may cause puzzlement
> ;-)

I take that back - it's clear from the function prototype
that we are using a mixed API: (hlist,list).

Sorry,

Ingo