Re: [PATCH] oprofile, x86: Move memory allocation to init

From: Maarten Lankhorst
Date: Sun Jul 31 2011 - 13:37:23 EST


On 07/31/2011 06:50 PM, Maarten Lankhorst wrote:
> ppro_setup_ctrs is called on all cpu's, while init is only called once.
>
> Signed-off-by: Maarten Lankhorst <m.b.lankhorst@xxxxxxxxx>
>
> ---
> Fixes oprofile on 3.0 rt6.
>
Not correct for the PPRO case, will send a revised patch shortly. Also seems I cant do kfree on shutdown, so I'll do it on exit.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/