Re: [PATCH] perf_counter: Provide functions for locking andpinning the context for a task

From: Ingo Molnar
Date: Mon Jun 01 2009 - 19:14:46 EST



* Paul Mackerras <paulus@xxxxxxxxx> wrote:

> Ingo Molnar writes:
>
> > -tip testing found that these patches are causing a crash:
>
> Argh. What was userspace doing at the time of the crash, do you
> know? It looks like it might have been on/off-lining a cpu,
> judging by the stack trace. Would there have been any counters
> attached to the task doing there, or were there any per-cpu
> counters active?

Yeah, indeed that box has a CPU hotplug testcase - sets cpu1 to
offline then online.

There should be no counters active anywhere during that.

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