Re: [PATCH 2/11] oprofile: arch-independent code for stack tracesampling

From: Andrew Morton
Date: Tue Nov 09 2004 - 06:10:43 EST


Greg Banks <gnb@xxxxxxxxxxxxxxxxx> wrote:
>
> + struct oprofile_cpu_buffer * cpu_buf = &cpu_buffer[smp_processor_id()];

oprofile is currently doing suspicious things with smp_processor_id() in
premptible reasons. Is this patch compounding things?

-
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/