Re: [PATCH,RFC] perf: panic due to inclied cpu context task_ctxvalue

From: Oleg Nesterov
Date: Mon Apr 04 2011 - 12:21:23 EST


On 03/31, Peter Zijlstra wrote:
>
> Anyway, I _think_ we can do better.. but then, I haven't fully gone
> through things yet.. compile tested only..

I'll try to read (and hopefully even understand ;) this patch carefully,
but at first glance this should work.

Personally, as a _reader_ of this code, I like the fact that
perf_event_release_kernel() does perf_remove_from_context() instead of
_disable + del_event. IMHO, this makes the things more understandable.

Oleg.

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