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

From: Peter Zijlstra
Date: Wed Apr 07 2010 - 07:58:29 EST

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.

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