Re: linux-2.6.28-rc2 regression : oprofile doesnt work anymore ?

Eric Dumazet
2008-11-07T16:13:22Z

Andi Kleen a écrit :
> On Fri, Nov 07, 2008 at 04:13:42PM +0100, Eric Dumazet wrote:
>> Andi Kleen a écrit :
>>> Can you please test this patch and see if it solves the problem?
>>>
>>> Thanks,
>>> -Andi
>>>
>>> ---
>>>
>>> oprofile: Fix p6 counter overflow check
>>>
>>> Fix the counter overflow check for CPUs with counter width > 32
>>>
>>> I had a similar change in a different patch that I didn't submit
>>> and I didn't notice the problem earlier because it was always
>>> tested together.
>>>
>>> Signed-off-by: Andi Kleen <ak@linux.intel.com>
>>>
>> Thanks Andi
>>
>> Unfortunatly, there is still a freeze of NMIS after a while.
>
> How long is the while?
>

Less than 20 seconds if fully loaded with "tbench 8" on my 8 cpus machine.

With your patch, many events are handled by oprofile (about 10.000.000
last time I tried) before freeze.

Without your patch, freeze was very very fast, no more than 10.000 NMI...

> I don't see this here on a Merom when I let it run for
> 10 minutes or so.
>
> You might need to bisect it.

Too many bugs during bisection unfortunatly, machine doesnt boot :(