On Friday 30 January 2009 04:38:23 Linus Torvalds wrote:> > On Thu, 29 Jan 2009, Steven Rostedt wrote:> > > > Actually, we are locking against the destination CPU.> > Oh.> > THAT'S JUST INCOMPETENT.> > What the *fuck* is the point of having per-CPU data, and then using it for > the wrong CPU?

Maybe we made it too easy to declare and use per-cpu data?

Could we use an nr_cpu_ids array? Yes, it needs alloc at boot somewhere, butit avoids collateral damage to other percpu data (and please don't suggest DEFINE_PER_CPU_SHARED_ALIGNED: that's just antisocial).