Re: [RFC PATCH 3/8] perf: Init/fini PMU specific data
From: Peter Zijlstra
Date: Mon Dec 02 2019 - 11:22:03 EST
On Mon, Dec 02, 2019 at 06:59:57AM -0800, Andi Kleen wrote:
> >
> > This is atricous crap. Also it is completely broken for -RT.
>
> Well can you please suggest how you would implement it instead?
I don't think that is on me; at best I get to explain why it is
completely unacceptible to have O(nr_tasks) and allocations under a
raw_spinlock_t, but I was thinking you'd already know that.