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

From: Eric Dumazet
Date: Fri Nov 07 2008 - 11:13:23 EST


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@xxxxxxxxxxxxxxx>

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 :(


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