lkml.org 
[lkml]   [2010]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH 2/8] perf, arch: Use early_initcall() for all arch pmu implementations
From
Date
On Thu, 2010-11-25 at 17:55 +0000, Peter Zijlstra wrote:
> So the perf_event_init() site is _waaay_ to early to init stuff.. I
> guess I'll move it all to early_initcall() and I'll move the watchdog to
> an explicit call right after it.
> Something like the below,.. now I guess the question to all of you is,
> can your arch pmu code cope with early_initcall() or does it need to be
> some other place?
>
The ARM init code basically just parses the CPUID to work out what PMU
is available, so it should be safe to call it as early as you like.

Will




\
 
 \ /
  Last update: 2010-11-26 10:45    [W:0.112 / U:1.016 seconds]
©2003-2014 Jasper Spaans. Advertise on this site