Messages in this thread | | | Subject | Re: [PATCH] perf: Store active software events in a hashlist | From | Peter Zijlstra <> | Date | Wed, 07 Apr 2010 13:58:20 +0200 |
| |
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.
| |