Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Porting DTrace to ARM



Ah.  I misread that schedstate_percpu uses percpu(9)'s fast path,
which doesn't exist...

Anyway if it's assumed that cpu is not attached at run-time, assigning
struct cpu_data::void *cpu_dtraceinfo at module attachment would be
just fine.

On Thu, Mar 6, 2014 at 2:08 PM, Matt Thomas <matt%3am-software.com@localhost> 
wrote:
>
> On Mar 5, 2014, at 9:07 PM, Masao Uebayashi <uebayasi%gmail.com@localhost> 
> wrote:
>
>> percpu(9) might help?
>
> Not so much.  It's better to just extend cpu_data if it's a common
> component.  Much less overhead.


Home | Main Index | Thread Index | Old Index