Re: Q: perf_install_in_context/perf_event_enable are racy?

From: Peter Zijlstra
Date: Thu Jan 27 2011 - 05:31:41 EST


On Wed, 2011-01-26 at 22:33 +0100, Oleg Nesterov wrote:
>
> This is what I had in mind initially but I didn't dare to add the
> new member into rq, it is only needed for perf.

Right, but its a weakness in the task_oncpu_function_call()
implementation, wouldn't any user run into this problem eventually?
--
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/