lkml.org 
[lkml]   [2009]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf_counter: Fix a race on perf_counter_ctx

* Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:

> On Fri, 2009-08-07 at 13:33 +0200, Ingo Molnar wrote:
> > Peter, any ideas?
>
>
> > [ 995.556131] ------------[ cut here ]------------
> > [ 995.557128] WARNING: at kernel/perf_counter.c:1191 __perf_counter_task_sched_out+0x48/0x6b()
>
>
> Some yeah...

This patch fixed both the warning i was getting during stress-tests,
and it also solved the hard lockup i was getting with the latest BTS
patch.

( perf record never actually finishes even short workloads, due to
the flood of kernel events coming in faster than it can record, so
we grow and grow the perf.data - but that's a different matter, it
does not lock up anymore. )

Markus, does latest -tip work fine for you, is the lockup fixed on
your side as well?

Ingo


\
 
 \ /
  Last update: 2009-08-08 14:07    [W:0.171 / U:2.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site