[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100521103840.GA23624@elte.hu>
Date: Fri, 21 May 2010 12:38:40 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Frederic Weisbecker <fweisbec@...il.com>,
Paul Mackerras <paulus@...ba.org>,
Arnaldo Carvalho de Melo <acme@...radead.org>,
Steven Rostedt <rostedt@...dmis.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 02/10] perf, trace: Use per-tracepoint-per-cpu hlist to
track events
* Peter Zijlstra <peterz@...radead.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 ;-)
Fortunately we've got the ultimate anti-puzzlement weapon:
code comments.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists