[lkml]   [2010]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] perf: Store active software events in a hashlist
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.

 \ /
  Last update: 2010-04-07 14:01    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean