Re: [PATCH] perf: Store active software events in a hashlist

From: Frederic Weisbecker
Date: Wed Apr 07 2010 - 08:07:16 EST

On Wed, Apr 07, 2010 at 01:58:20PM +0200, Peter Zijlstra wrote:
> On Wed, 2010-04-07 at 13:56 +0200, Frederic Weisbecker wrote:
> >
> > >
> > > So looks good, altough I think we want to do that online/hotplug thing.
> >
> >
> > That would let us allocate on online cpus instead of possibles? Yeah right.
> Right, so if you want to go this route (and not simply embed it in the
> percpu data), the complication I thought of is that you want the
> refcount on offline cpus but not the allocation, since its very hard to
> reconstruct the number of events that had event->cpu == -1.

Ok, right I can do that.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at