Re: [PATCH 3/4] perf-events: Add support for supplementary event registers v3

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Friday, November 26, 2010 - 8:28 am

On Thu, 2010-11-18 at 12:46 +0100, Peter Zijlstra wrote:

OK, that initcall patch hit -tip and Ingo wants that allocation stuff
fixed up before committing those patches.

Could you run another version of these patches (you can ignore the
checkpatch output that results from the non-std struct initialization
layout)?

Just make the allocation path like the AMD NB stuff, use the cpu_prepare
and cpu_dead hooks to alloc/free and add a refcount in the percpu
object.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
perf offcore patchkit for merge, Andi Kleen, (Thu Nov 18, 3:47 am)
[tip:perf/core] x86: Set cpu masks before calling CPU_STAR ..., tip-bot for Andi Kleen, (Fri Nov 26, 8:05 am)
Re: [PATCH 3/4] perf-events: Add support for supplementary ..., Peter Zijlstra, (Fri Nov 26, 8:28 am)